You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This reverts commit eb4d36d.
The change caused a regression when building some parts of the llvm
testsuite.
In particular, when code is linked that was build with -fexceptions, but
-fexceptions was not given at link time.
In addition to the revered change I also had to move
`__cxa_get_exception_ptr` to `private_typeinfo.cpp`. This was converted
to native function in #22421, but, when combined with this change/revert
it also needs to be available in the `-noexcept` version of libc++abi.
See the comment in `private_typeinfo.cpp`
error(`DISABLE_EXCEPTION_CATCHING was set, which means no C++ exception catching support code is linked in, but such support is required by symbol '${name}'. Either set DISABLE_EXCEPTION_CATCHING=0 (if you do want exception catching) or compile all source files with DISABLE_EXCEPTION_CATCHING=1.`);
self.assertContained("error: DISABLE_EXCEPTION_CATCHING was set, which means no C++ exception catching support code is linked in, but such support is required by symbol '__cxa_begin_catch'", err)
11614
-
return
11615
-
11616
11611
self.run_process([EMXX, 'src.o'] + link_flags)
11617
11612
result = self.run_js('a.out.js', assert_returncode=0 if expect_caught else NON_ZERO)
0 commit comments