diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-07-24 19:34:26 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-07-24 19:34:26 +0000 |
commit | 87c3f4a938310769ce56a0aada15ed7fdf188e60 (patch) | |
tree | 1f9beae2fc392d945d81be48e7f460a2a41a746c /llvm/lib/DebugInfo | |
parent | aaa40cc96373b0ba033980c99dd20e0cd1260097 (diff) | |
download | bcm5719-llvm-87c3f4a938310769ce56a0aada15ed7fdf188e60.tar.gz bcm5719-llvm-87c3f4a938310769ce56a0aada15ed7fdf188e60.zip |
Move DWARFSectionMap to a .cpp file.
Thanks to Paul Robinson for the suggestion.
llvm-svn: 308913
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp index 1b45ca9e20d..654fc0c10c4 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp @@ -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; |