diff options
| -rw-r--r-- | src/lj_err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_err.c b/src/lj_err.c index fda4a59c..c0be08e4 100644 --- a/src/lj_err.c +++ b/src/lj_err.c | |||
| @@ -480,8 +480,11 @@ extern const void *_Unwind_Find_FDE(void *pc, struct dwarf_eh_bases *bases); | |||
| 480 | /* Verify that external error handling actually has a chance to work. */ | 480 | /* Verify that external error handling actually has a chance to work. */ |
| 481 | void lj_err_verify(void) | 481 | void lj_err_verify(void) |
| 482 | { | 482 | { |
| 483 | #if !LJ_TARGET_OSX | ||
| 484 | /* Check disabled on MacOS due to brilliant software engineering at Apple. */ | ||
| 483 | struct dwarf_eh_bases ehb; | 485 | struct dwarf_eh_bases ehb; |
| 484 | lj_assertX(_Unwind_Find_FDE((void *)lj_err_throw, &ehb), "broken build: external frame unwinding enabled, but missing -funwind-tables"); | 486 | lj_assertX(_Unwind_Find_FDE((void *)lj_err_throw, &ehb), "broken build: external frame unwinding enabled, but missing -funwind-tables"); |
| 487 | #endif | ||
| 485 | /* Check disabled, because of broken Fedora/ARM64. See #722. | 488 | /* Check disabled, because of broken Fedora/ARM64. See #722. |
| 486 | lj_assertX(_Unwind_Find_FDE((void *)_Unwind_RaiseException, &ehb), "broken build: external frame unwinding enabled, but system libraries have no unwind tables"); | 489 | lj_assertX(_Unwind_Find_FDE((void *)_Unwind_RaiseException, &ehb), "broken build: external frame unwinding enabled, but system libraries have no unwind tables"); |
| 487 | */ | 490 | */ |
