diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-07 20:53:59 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-07 20:53:59 +0000 |
| commit | 9a383405a7faa52da11fe9c59bd2ff7aecbf5bfd (patch) | |
| tree | 02bb45c3a5b7aaf371b196038f97d2ed4ce0c807 /llvm/tools | |
| parent | eaf9798d2a45b6eabc65ded63fddc2f28b858222 (diff) | |
| download | bcm5719-llvm-9a383405a7faa52da11fe9c59bd2ff7aecbf5bfd.tar.gz bcm5719-llvm-9a383405a7faa52da11fe9c59bd2ff7aecbf5bfd.zip | |
Remove exception handling support from the old JIT.
llvm-svn: 181354
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/lli/RecordingMemoryManager.cpp | 11 | ||||
| -rw-r--r-- | llvm/tools/lli/RecordingMemoryManager.h | 5 | ||||
| -rw-r--r-- | llvm/tools/lli/lli.cpp | 6 |
3 files changed, 0 insertions, 22 deletions
diff --git a/llvm/tools/lli/RecordingMemoryManager.cpp b/llvm/tools/lli/RecordingMemoryManager.cpp index e4d992d3d43..1fa817640a2 100644 --- a/llvm/tools/lli/RecordingMemoryManager.cpp +++ b/llvm/tools/lli/RecordingMemoryManager.cpp @@ -98,17 +98,6 @@ uint8_t *RecordingMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignme void RecordingMemoryManager::deallocateFunctionBody(void *Body) { llvm_unreachable("Unexpected!"); } -uint8_t* RecordingMemoryManager::startExceptionTable(const Function* F, uintptr_t &ActualSize) { - llvm_unreachable("Unexpected!"); - return 0; -} -void RecordingMemoryManager::endExceptionTable(const Function *F, uint8_t *TableStart, - uint8_t *TableEnd, uint8_t* FrameRegister) { - llvm_unreachable("Unexpected!"); -} -void RecordingMemoryManager::deallocateExceptionTable(void *ET) { - llvm_unreachable("Unexpected!"); -} static int jit_noop() { return 0; diff --git a/llvm/tools/lli/RecordingMemoryManager.h b/llvm/tools/lli/RecordingMemoryManager.h index 991f535fd4c..f3d026f2419 100644 --- a/llvm/tools/lli/RecordingMemoryManager.h +++ b/llvm/tools/lli/RecordingMemoryManager.h @@ -75,11 +75,6 @@ public: uint8_t *allocateSpace(intptr_t Size, unsigned Alignment); uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment); void deallocateFunctionBody(void *Body); - uint8_t* startExceptionTable(const Function* F, uintptr_t &ActualSize); - void endExceptionTable(const Function *F, uint8_t *TableStart, - uint8_t *TableEnd, uint8_t* FrameRegister); - void deallocateExceptionTable(void *ET); - }; } // end namespace llvm diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 297763fcfbd..1866403cf80 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -159,11 +159,6 @@ namespace { clEnumValEnd)); cl::opt<bool> - EnableJITExceptionHandling("jit-enable-eh", - cl::desc("Emit exception handling information"), - cl::init(false)); - - cl::opt<bool> GenerateSoftFloatCalls("soft-float", cl::desc("Generate software floating point library calls"), cl::init(false)); @@ -381,7 +376,6 @@ int main(int argc, char **argv, char * const *envp) { // Remote target execution doesn't handle EH or debug registration. if (!RemoteMCJIT) { - Options.JITExceptionHandling = EnableJITExceptionHandling; Options.JITEmitDebugInfo = EmitJitDebugInfo; Options.JITEmitDebugInfoToDisk = EmitJitDebugInfoToDisk; } |

