libsanitizer - remove reference to __cxa_rethrow_primary_exception.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 18 Jun 2019 08:01:00 +0000 (08:01 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 18 Jun 2019 08:01:00 +0000 (08:01 +0000)
commit9553f0d2216d4475d4d1afaa748b6b02f56c057b
tree931cc9398ba82af702c7908a603fcd1a67faf885
parent74b5fcf733823b353b331c0ca30e8b71ba98c9cf
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.

From-SVN: r272406
libsanitizer/ChangeLog
libsanitizer/asan/Makefile.am
libsanitizer/asan/Makefile.in
libsanitizer/asan/asan_interceptors.h
libsanitizer/asan/libtool-version