summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachOWriter.cpp
diff options
context:
space:
mode:
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>2008-02-13 18:39:37 +0000
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>2008-02-13 18:39:37 +0000
commit21ad494f670219539de17536ec392240ba146619 (patch)
treea2b8d0d92d436e492a196dbfb7fad6ab3720df2a /llvm/lib/CodeGen/MachOWriter.cpp
parent2aea794226ccef1eafa92f6bf4ed1c9997488ed9 (diff)
downloadbcm5719-llvm-21ad494f670219539de17536ec392240ba146619.tar.gz
bcm5719-llvm-21ad494f670219539de17536ec392240ba146619.zip
Enable exception handling int JIT
llvm-svn: 47079
Diffstat (limited to 'llvm/lib/CodeGen/MachOWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/MachOWriter.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachOWriter.cpp b/llvm/lib/CodeGen/MachOWriter.cpp
index 71e7430635a..92b3eb4311c 100644
--- a/llvm/lib/CodeGen/MachOWriter.cpp
+++ b/llvm/lib/CodeGen/MachOWriter.cpp
@@ -125,6 +125,20 @@ namespace llvm {
return MBBLocations[MBB->getNumber()];
}
+ virtual intptr_t getLabelAddress(uint64_t Label) const {
+ assert(0 && "get Label not implemented");
+ abort();
+ return 0;
+ }
+
+ virtual void emitLabel(uint64_t LabelID) {
+ assert(0 && "emit Label not implemented");
+ abort();
+ }
+
+
+ virtual void setModuleInfo(llvm::MachineModuleInfo* MMI) { }
+
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
virtual void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) {
assert(0 && "JIT specific function called!");
OpenPOWER on IntegriCloud