[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)
commit7c5004768402da67864a24f9bf02784354f2b79b
treeeebcfa18a8d3d1a2643f3ff0337f487788dd67fa
parent0ee6800a3128f7afadb9131562660bd5f55438ef
[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).

llvm-svn: 222029
llvm/lib/DebugInfo/DWARFAcceleratorTable.cpp
llvm/lib/DebugInfo/DWARFAcceleratorTable.h
llvm/lib/DebugInfo/DWARFContext.cpp
llvm/lib/DebugInfo/DWARFContext.h
llvm/test/DebugInfo/cross-cu-inlining.ll