[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 21 11:32:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess on Linux nothing ever calls __cxa_rethrow_primary_exception, so it
isn't a big deal that libasan provides a wrapper for it.
If you want to introduce ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, it would need
to be introduced some way that either it would default to 1 and
gcc/libsanitizer/asan/Makefile.in was able to override it, so e.g.
#ifndef ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION
# define ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION 1
#endif
in say asan/asan_internal.h and add -DASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION=0
to libsanitizer/asan/Makefile.*.
More information about the Gcc-bugs
mailing list