Skip to content

Commit 41260fc

Browse files
Disable only-uses-allocator test for *-SAN's
1 parent ba1ce30 commit 41260fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcxx/test/std/diagnostics/stacktrace/basic.cons/only_uses_allocator.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
// REQUIRES: std-at-least-c++23
1010
// ADDITIONAL_COMPILE_FLAGS: -g -O0
11+
// UNSUPPORTED: asan, msan, tsan, hwasan, sanitizer-new-delete
1112

1213
#include <cassert>
1314
#include <cstdlib>
@@ -17,6 +18,8 @@
1718
* This file includes tests which ensure any allocations performed by `basic_stacktrace`
1819
* are done via the user-provided allocator. We intercept the usual ways to allocate,
1920
* counting the number of calls, through and not through the allocator.
21+
*
22+
* (This won't work properly with sanitizers, hence the `UNSUPPORTED` above.)
2023
*/
2124

2225
unsigned new_count;

0 commit comments

Comments
 (0)