1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Move DWARFSectionMap to a .cpp file.

Thanks to Paul Robinson for the suggestion.

llvm-svn: 308913
This commit is contained in:
Rafael Espindola 2017-07-24 19:34:26 +00:00
parent 66174f57e6
commit 1c5470d3d0
2 changed files with 6 additions and 4 deletions

View File

@ -19,10 +19,6 @@ struct DWARFSection {
StringRef Data;
};
struct DWARFSectionMap final : public DWARFSection {
RelocAddrMap Relocs;
};
} // end namespace llvm
#endif // LLVM_DEBUGINFO_DWARF_DWARFSECTION_H

View File

@ -916,6 +916,12 @@ ErrorPolicy DWARFContext::defaultErrorHandler(Error E) {
return ErrorPolicy::Continue;
}
namespace {
struct DWARFSectionMap final : public DWARFSection {
RelocAddrMap Relocs;
};
} // namespace
class DWARFObjInMemory final : public DWARFObject {
bool IsLittleEndian;
uint8_t AddressSize;