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)
commit7c678de8614720999d1346b89e73480e4bdc6f87
treebba75fe39b0ea5aa51f888c990e6ed915cff6bd9
parent84afacd253b4c4da7691153c3f0d07237cc0b21d
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.

llvm-svn: 167558
llvm/include/llvm/DebugInfo/DIContext.h
llvm/include/llvm/Object/RelocVisitor.h [new file with mode: 0644]
llvm/include/llvm/Support/DataExtractor.h
llvm/lib/DebugInfo/DIContext.cpp
llvm/lib/DebugInfo/DWARFContext.h
llvm/lib/DebugInfo/DWARFFormValue.cpp
llvm/test/DebugInfo/X86/elf-names.ll [new file with mode: 0644]
llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp