diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-06-10 19:32:50 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-06-10 19:32:50 +0000 |
commit | a91885a08c71e64908ec034126c6cd741473950b (patch) | |
tree | 885c34b5fb7ab9efdc2c7b64bc906d13ac1067cc /llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | |
parent | 448c2290f100cd7f36929c4fad6616364bf84e4a (diff) | |
download | bcm5719-llvm-a91885a08c71e64908ec034126c6cd741473950b.tar.gz bcm5719-llvm-a91885a08c71e64908ec034126c6cd741473950b.zip |
dwarfdump: Handle relocs to zlib (.zdebug*) compressed sections
llvm-svn: 305152
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFContext.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp index 42ab48808f9..fb48253b2ad 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp @@ -1250,7 +1250,7 @@ DWARFContextInMemory::DWARFContextInMemory(const object::ObjectFile &Obj, continue; RelSecName = RelSecName.substr( - RelSecName.find_first_not_of("._")); // Skip . and _ prefixes. + RelSecName.find_first_not_of("._z")); // Skip . and _ prefixes. // TODO: Add support for relocations in other sections as needed. // Record relocations for the debug_info and debug_line sections. |