summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-05 20:43:10 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-05 20:43:10 +0000
commitfa5942bc2c870d63b02a936ab7e2ce5a5bace768 (patch)
treebad05903cb958bdb729317b41ac7c37888487682 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
parent78852e91c8e46344600bac984c1f2b37d6af5060 (diff)
downloadbcm5719-llvm-fa5942bc2c870d63b02a936ab7e2ce5a5bace768.tar.gz
bcm5719-llvm-fa5942bc2c870d63b02a936ab7e2ce5a5bace768.zip
Add EH support to the MCJIT.
This gets exception handling working on ELF and Macho (x86-64 at least). Other than the EH frame registration, this patch also implements support for GOT relocations which are used to locate the personality function on MachO. llvm-svn: 181167
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
index 8da6e35a87d..df8d3bb4820 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
@@ -65,6 +65,7 @@ public:
const SymbolTableMap &Symbols,
StubMap &Stubs);
virtual bool isCompatibleFormat(const ObjectBuffer *Buffer) const;
+ virtual StringRef getEHFrameSection();
};
} // end namespace llvm
OpenPOWER on IntegriCloud