Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,8 @@ def with_all_eh_sjlj(func):
def metafunc(self, mode, *args, **kwargs):
if common.EMTEST_VERBOSE:
print(f'parameterize:eh_mode={mode}')
if '-flto' in self.cflags or '-flto=thin' in self.cflags:
self.skipTest('LTO EH tests are temporarily disabled until https://github.com/llvm/llvm-project/pull/224313 lands')
if mode in {'wasm', 'wasm_legacy'}:
if self.is_wasm2js():
self.skipTest('wasm2js does not support wasm EH/SjLj')
Expand Down
2 changes: 2 additions & 0 deletions test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,8 @@ def test_exceptions(self):

@requires_wasm_eh
def test_exceptions_with_and_without_longjmp(self):
if '-flto' in self.cflags or '-flto=thin' in self.cflags:
self.skipTest('LTO EH tests are temporarily disabled until https://github.com/llvm/llvm-project/pull/224313 lands')
self.set_setting('EXCEPTION_DEBUG')
self.maybe_closure()
# Emscripten EH with and without Emscripten SjLj support
Expand Down
1 change: 1 addition & 0 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -8882,6 +8882,7 @@ def test_lto_flags(self):

# We have LTO tests covered in 'wasmltoN' targets in test_core.py, but they
# don't run as a part of Emscripten CI, so we add a separate LTO test here.
@disabled('LTO EH tests are temporarily disabled until https://github.com/llvm/llvm-project/pull/224313 lands')
@requires_wasm_eh
@parameterized({
'': (['-sWASM_LEGACY_EXCEPTIONS=0'],),
Expand Down
2 changes: 0 additions & 2 deletions tools/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ def lld_flags(args):
for a in llvm_backend_args():
args += ['-mllvm', a]

if settings.WASM_EXCEPTIONS:
args += ['-mllvm', '-wasm-enable-eh']
if settings.WASM_EXCEPTIONS or settings.SUPPORT_LONGJMP == 'wasm':
args += ['-mllvm', '-exception-model=wasm']
elif not settings.DISABLE_EXCEPTION_CATCHING:
Expand Down
Loading