mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Don't call __register_frame from the JIT on systems that use setjmp/longjmp
exception handling. Also fix an extra underscore typo in one instance of "__ARM_EABI__". Radar 8236264. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dee81010eb
commit
e4373b0da6
@ -67,7 +67,7 @@ extern "C" void LLVMLinkInJIT() {
|
||||
}
|
||||
|
||||
|
||||
#if defined(__GNUC__) && !defined(__ARM__EABI__)
|
||||
#if defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__USING_SJLJ_EXCEPTIONS__)
|
||||
|
||||
// libgcc defines the __register_frame function to dynamically register new
|
||||
// dwarf frames for exception handling. This functionality is not portable
|
||||
@ -308,7 +308,7 @@ JIT::JIT(Module *M, TargetMachine &tm, TargetJITInfo &tji,
|
||||
}
|
||||
|
||||
// Register routine for informing unwinding runtime about new EH frames
|
||||
#if defined(__GNUC__) && !defined(__ARM_EABI__)
|
||||
#if defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__USING_SJLJ_EXCEPTIONS__)
|
||||
#if USE_KEYMGR
|
||||
struct LibgccObjectInfo* LOI = (struct LibgccObjectInfo*)
|
||||
_keymgr_get_and_lock_processwide_ptr(KEYMGR_GCC3_DW2_OBJ_LIST);
|
||||
|
Loading…
x
Reference in New Issue
Block a user