Skip to content

Commit 237bd1d

Browse files
committed
XFAIL __cxa_uncaught_exception() test
1 parent b8d71fa commit 237bd1d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libcxxabi/test/uncaught_exception.pass.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
// This tests that libc++abi still provides __cxa_uncaught_exception() for
1212
// ABI compatibility, even though the Standard doesn't require it to.
1313

14+
// __cxa_uncaught_exception was not re-exported from libc++ previously. This leads
15+
// to undefined symbols when linking against a libc++ that re-exports the symbols,
16+
// but running against a libc++ that doesn't. Fortunately, usage of __cxa_uncaught_exception()
17+
// in the wild seems to be close to non-existent.
18+
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
19+
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx{{11|12|13|14}}
20+
1421
#include <cxxabi.h>
1522
#include <cassert>
1623

0 commit comments

Comments
 (0)