[PATCH] D65056: [ASan][test] XFAIL AddressSanitizer-*-sunos :: TestCases/intercept-rethrow-exception.cc on Solaris

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 21 08:52:43 PDT 2019


ro created this revision.
ro added reviewers: kcc, samsonov.
ro added a project: Sanitizers.
Herald added subscribers: Sanitizers, fedor.sergeev, kubamracek.
Herald added a project: LLVM.

`AddressSanitizer-*-sunos :: TestCases/intercept-rethrow-exception.cc` currently FAILs
on Solaris.  This happens because `std::rethrow_exception` cannot be intercepted, as
detailed in Bug 42703.

To account for this and reduce testsuite noise, this patch XFAILs the test.

Tested on `x86_64-pc-solaris2.11`.  Ok for trunk?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D65056

Files:
  test/asan/TestCases/intercept-rethrow-exception.cc


Index: test/asan/TestCases/intercept-rethrow-exception.cc
===================================================================
--- test/asan/TestCases/intercept-rethrow-exception.cc
+++ test/asan/TestCases/intercept-rethrow-exception.cc
@@ -7,6 +7,8 @@
 // The current implementation of this functionality requires special
 // combination of libraries that are not used by default on NetBSD
 // XFAIL: netbsd
+// FIXME: Bug 42703
+// XFAIL: solaris
 
 #include <assert.h>
 #include <exception>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65056.210999.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190721/2ce525bd/attachment.bin>


More information about the llvm-commits mailing list