Add a relocation visitor to lib object. This works via caching relocated
authorEric Christopher <echristo@gmail.com>
Wed, 7 Nov 2012 23:22:07 +0000 (23:22 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 7 Nov 2012 23:22:07 +0000 (23:22 +0000)
commit806e03d2381709ddfb5a8012729bbe6eae12caf5
treed01da4fb8a09017a564b27968af88dc1fb82084d
parentb0319962cfdb18da38ef47da621f148fe144b092
Add a relocation visitor to lib object. This works via caching relocated
values in a map that can be passed to consumers. Add a testcase that
ensures this works for llvm-dwarfdump.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167558 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DIContext.h
include/llvm/Object/RelocVisitor.h [new file with mode: 0644]
include/llvm/Support/DataExtractor.h
lib/DebugInfo/DIContext.cpp
lib/DebugInfo/DWARFContext.h
lib/DebugInfo/DWARFFormValue.cpp
test/DebugInfo/X86/elf-names.ll [new file with mode: 0644]
tools/llvm-dwarfdump/llvm-dwarfdump.cpp