[Bug sanitizer/87880] [9/10 regression] All macOS asan execution tests FAIL

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 18 08:01:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880

--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Tue Jun 18 08:01:00 2019
New Revision: 272406

URL: https://gcc.gnu.org/viewcvs?rev=272406&root=gcc&view=rev
Log:
libsanitizer - remove reference to __cxa_rethrow_primary_exception.

For some Darwin versions the absence of the rethrow_primary_exception
symbol causes almost all sanitizer tests to fail.
The symbol is not present in libstdc++ and, therefore is is correct to
remove the reference to it for all platforms.  We do this by adding a
new guard "ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION".

libsanitizer/

2019-06-18  Iain Sandoe  <iain@sandoe.co.uk>

        PR libsanitizer/87880
        * asan/asan_interceptors.h:
        (ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION): New.
        * asan/Makefile.am (DEFS): Add 
        ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, defined to 0.
        * asan/Makefile.in: Regenerated.
        * asan/libtool-version: Bump version.


Modified:
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/asan/Makefile.am
    trunk/libsanitizer/asan/Makefile.in
    trunk/libsanitizer/asan/asan_interceptors.h
    trunk/libsanitizer/asan/libtool-version


More information about the Gcc-bugs mailing list