diff options
author | Preston Gurd <preston.gurd@intel.com> | 2012-04-16 22:12:58 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2012-04-16 22:12:58 +0000 |
commit | 689ff9c00f4f3dcf3491778bcdbda79e19e2285d (patch) | |
tree | 5b27bacb0f581a45e9274eb9894e0fd4bb259bf8 /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | |
parent | f1a60c734c2edb97ab75e67328935538fae5bae6 (diff) | |
download | llvm-689ff9c00f4f3dcf3491778bcdbda79e19e2285d.tar.gz llvm-689ff9c00f4f3dcf3491778bcdbda79e19e2285d.tar.bz2 llvm-689ff9c00f4f3dcf3491778bcdbda79e19e2285d.tar.xz |
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
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h index 898b85190e..418d130f63 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h @@ -49,7 +49,7 @@ protected: int64_t Addend); virtual void processRelocationRef(const ObjRelocationInfo &Rel, - const ObjectFile &Obj, + ObjectImage &Obj, ObjSectionToIDMap &ObjSectionToID, LocalSymbolMap &Symbols, StubMap &Stubs); @@ -59,7 +59,7 @@ public: uint64_t Value, uint32_t Type, int64_t Addend); - + RuntimeDyldMachO(RTDyldMemoryManager *mm) : RuntimeDyldImpl(mm) {} bool isCompatibleFormat(const MemoryBuffer *InputBuffer) const; |