OSDN Git Service

[DWARF] Make llvm-dwarfdump display location lists in a .dwp file correctly. Fixes...
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>
Fri, 19 Oct 2018 19:23:16 +0000 (19:23 +0000)
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>
Fri, 19 Oct 2018 19:23:16 +0000 (19:23 +0000)
commit3b86c68554418cc2e731a8521b7329feed6f21a3
treebd7dd52cef004acd6cacb5d1811474d5a6e51356
parent203691d83a7283fec25121e672042a922166feb4
[DWARF] Make llvm-dwarfdump display location lists in a .dwp file correctly. Fixes PR38990.

Considers the index when extracting location lists from a .dwp file.
Majority of the patch by David Blaikie.

Reviewers: dblaikie

Differential revision: https://reviews.llvm.org/D53155

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344807 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
include/llvm/DebugInfo/DWARF/DWARFUnit.h
lib/DebugInfo/DWARF/DWARFDie.cpp
lib/DebugInfo/DWARF/DWARFUnit.cpp
lib/DebugInfo/DWARF/DWARFVerifier.cpp
test/DebugInfo/Inputs/loclists-dwp-b.ll [new file with mode: 0644]
test/DebugInfo/X86/loclists-dwp.ll [new file with mode: 0644]