[dwarfdump] Handle relocations in Dwarf accelerator tables
authorFrederic Riss <friss@apple.com>
Fri, 14 Nov 2014 19:30:08 +0000 (19:30 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 14 Nov 2014 19:30:08 +0000 (19:30 +0000)
commit4ad9e9b0b083e4f21a53a2f0a409d2d57f508f7b
tree8a0ab9a28572b6598e075582dd15cd47fef9470a
parent7ffaebf9daca08a7d22002b83db0f5c7da2c367f
[dwarfdump] Handle relocations in Dwarf accelerator tables

ELF targets (and maybe COFF) use relocations when referring
to strings in the .debug_str section. Handle that in the
accelerator table dumper. This commit restores the
test/DebugInfo/cross-cu-inlining.ll test to its expected
platform independant form, validating that the fix works
(this test failed on linux boxes).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222029 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFAcceleratorTable.cpp
lib/DebugInfo/DWARFAcceleratorTable.h
lib/DebugInfo/DWARFContext.cpp
lib/DebugInfo/DWARFContext.h
test/DebugInfo/cross-cu-inlining.ll