diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-05-02 15:36:26 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-05-02 15:36:26 +0000 |
| commit | d548f6bf8357ec9d0547138772ab35a54666fc45 (patch) | |
| tree | fcab3a667087b5e0ae19ebe62c5f92d0702ef7dc /lib/ExecutionEngine/JIT | |
| parent | d1f4444a2771d243ed518e46f9342882dbf69306 (diff) | |
| download | external_llvm-d548f6bf8357ec9d0547138772ab35a54666fc45.zip external_llvm-d548f6bf8357ec9d0547138772ab35a54666fc45.tar.gz external_llvm-d548f6bf8357ec9d0547138772ab35a54666fc45.tar.bz2 | |
Remove the -enable-sjlj-eh option, which doesn't do anything.
Remove the -enable-eh option which is only used by the JIT,
and replace it with -jit-enable-eh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT')
| -rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 36d4ada..e3855b2 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -384,7 +384,7 @@ namespace { DEBUG(dbgs() << "JIT is managing a GOT\n"); } - if (DwarfExceptionHandling || JITEmitDebugInfo) { + if (JITExceptionHandling || JITEmitDebugInfo) { DE.reset(new JITDwarfEmitter(jit)); } if (JITEmitDebugInfo) { @@ -1259,7 +1259,7 @@ bool JITEmitter::finishFunction(MachineFunction &F) { } }); - if (DwarfExceptionHandling || JITEmitDebugInfo) { + if (JITExceptionHandling || JITEmitDebugInfo) { uintptr_t ActualSize = 0; SavedBufferBegin = BufferBegin; SavedBufferEnd = BufferEnd; @@ -1282,7 +1282,7 @@ bool JITEmitter::finishFunction(MachineFunction &F) { BufferEnd = SavedBufferEnd; CurBufferPtr = SavedCurBufferPtr; - if (DwarfExceptionHandling) { + if (JITExceptionHandling) { TheJIT->RegisterTable(FrameRegister); } |
