OSDN Git Service

dwarfdump: Add a bit more DWARF64 support
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 24 May 2019 01:05:52 +0000 (01:05 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 24 May 2019 01:05:52 +0000 (01:05 +0000)
commitdeeb5d51e3e36b99a73155adee73fc67d6b726cf
tree2b6611f6b5baa93a62645be6a487544891957d46
parent5842fc763e5d64b44c5f83fcedc58cb7d2d393b1
dwarfdump: Add a bit more DWARF64 support

This test case was incorrect because it mixed DWARF32 and DWARF64 for a
single unit (DWARF32 unit referencing a DWARF64 str_offsets section). So
fix enough of the unit parsing for DWARF64 and make the test valid.

(not sure if anyone needs DWARF64 support though - support in
libDebugInfoDWARF has been added piecemeal and LLVM doesn't produce it
at all)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361582 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFUnit.h
lib/DebugInfo/DWARF/DWARFUnit.cpp
lib/DebugInfo/DWARF/DWARFVerifier.cpp
test/DebugInfo/X86/dwarfdump-str-offsets.s