diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-07-31 17:02:52 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-07-31 17:02:52 +0000 |
commit | b14f1da23c9bd35e44f44c30d40ff2da1a0febed (patch) | |
tree | bd6797e9177a7c0dd9a2cf132b59e12fb038f34d /lldb/packages/Python/lldbsuite/test | |
parent | 02c602e18c5a591ee6b76c214983b304706afa07 (diff) | |
download | bcm5719-llvm-b14f1da23c9bd35e44f44c30d40ff2da1a0febed.tar.gz bcm5719-llvm-b14f1da23c9bd35e44f44c30d40ff2da1a0febed.zip |
Fix LLDB crash accessing unknown DW_FORM_* attributes
Current LLDB (that is without DWZ support) crashes accessing Fedora debug info:
READ of size 8 at 0x60200000ffc8 thread T0
#0 in DWARFDebugInfoEntry::BuildAddressRangeTable(SymbolFileDWARF*, DWARFCompileUnit const*, DWARFDebugAranges*) const tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp:1336
Greg Clayton: We will need a warning to be emitted in
SymbolFileDWARF::CalculateAbilities() stating we won't parse the DWARF due to
"unsupported DW_FORM value of 0x1f20".
Patch has been mostly written by Greg Clayton.
Differential revision: https://reviews.llvm.org/D35622
llvm-svn: 309581
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions