Add support for applying in-memory relocations to the .debug_line section and, in...
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 25 Jan 2013 22:50:58 +0000 (22:50 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 25 Jan 2013 22:50:58 +0000 (22:50 +0000)
commitee7c0d2f931590ccdc53a14b1839e11bb29fc96e
tree691f74c6f15436cdeacf8fa67089c34071a00460
parentc73b7f702258b844dc2702fd9d79d8a8706460a7
Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section.  Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173517 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/ExecutionEngine/ObjectImage.h
lib/DebugInfo/DWARFCompileUnit.h
lib/DebugInfo/DWARFContext.cpp
lib/DebugInfo/DWARFContext.h
lib/DebugInfo/DWARFDebugLine.cpp
lib/DebugInfo/DWARFDebugLine.h
lib/DebugInfo/DWARFRelocMap.h [new file with mode: 0644]
lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h
test/DebugInfo/Inputs/test-inline.o [new file with mode: 0644]
test/DebugInfo/debuglineinfo.test [new file with mode: 0644]
tools/llvm-rtdyld/CMakeLists.txt
tools/llvm-rtdyld/Makefile
tools/llvm-rtdyld/llvm-rtdyld.cpp