Implement GDB integration for source level debugging of code JITed using
authorPreston Gurd <preston.gurd@intel.com>
Mon, 16 Apr 2012 22:12:58 +0000 (22:12 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Mon, 16 Apr 2012 22:12:58 +0000 (22:12 +0000)
commit689ff9c00f4f3dcf3491778bcdbda79e19e2285d
tree5b27bacb0f581a45e9274eb9894e0fd4bb259bf8
parentf1a60c734c2edb97ab75e67328935538fae5bae6
Implement GDB integration for source level debugging of code JITed using
the MCJIT execution engine.

The GDB JIT debugging integration support works by registering a loaded
object image with a pre-defined function that GDB will monitor if GDB
is attached. GDB integration support is implemented for ELF only at this
time. This integration requires GDB version 7.0 or newer.

Patch by Andy Kaylor!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154868 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
lib/ExecutionEngine/RuntimeDyld/CMakeLists.txt
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
lib/Object/ELFObjectFile.cpp