Move DWARFSectionMap to a .cpp file.

Thanks to Paul Robinson for the suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2017-07-24 19:34:26 +00:00
parent df6678d054
commit 8121aebb83
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;