diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-04-23 10:17:34 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-04-23 10:17:34 +0000 |
commit | 068fc8ae6ef710400b1baf9440ceb3e5ba0f3d08 (patch) | |
tree | ea2f6cfced2e618be083f6df327495e4b7d2401f /llvm/lib/DebugInfo/DWARFContext.h | |
parent | 63761d4bc455eec16b42e76b9e7f84973a41f4a0 (diff) | |
download | bcm5719-llvm-068fc8ae6ef710400b1baf9440ceb3e5ba0f3d08.tar.gz bcm5719-llvm-068fc8ae6ef710400b1baf9440ceb3e5ba0f3d08.zip |
Use zlib to uncompress debug sections in DWARF parser.
This makes llvm-dwarfdump and llvm-symbolizer understand
debug info sections compressed by ld.gold linker.
llvm-svn: 180088
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFContext.h')
-rw-r--r-- | llvm/lib/DebugInfo/DWARFContext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.h b/llvm/lib/DebugInfo/DWARFContext.h index 37b272993f3..78c18e61680 100644 --- a/llvm/lib/DebugInfo/DWARFContext.h +++ b/llvm/lib/DebugInfo/DWARFContext.h @@ -161,8 +161,11 @@ class DWARFContextInMemory : public DWARFContext { StringRef RangeDWOSection; StringRef AddrSection; + SmallVector<MemoryBuffer*, 4> UncompressedSections; + public: DWARFContextInMemory(object::ObjectFile *); + ~DWARFContextInMemory(); virtual bool isLittleEndian() const { return IsLittleEndian; } virtual uint8_t getAddressSize() const { return AddressSize; } virtual const RelocAddrMap &infoRelocMap() const { return InfoRelocMap; } |