[libcxx-commits] [libcxx] [libc++] disable hwasan for the 'set_new_handler' test (PR #217086)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 18 10:26:17 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Adam (siradam7th)
<details>
<summary>Changes</summary>
Disable Hardware-assisted AddressSanitizer for the `set_new_handler` test to prevent test failure when it is enabled.
---
Full diff: https://github.com/llvm/llvm-project/pull/217086.diff
1 Files Affected:
- (modified) libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp (+1-1)
``````````diff
diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp
index 9dbd4e664457a..fc21bbfd37158 100644
--- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp
+++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp
@@ -8,7 +8,7 @@
// a test will allocate an impossible amount of memory on purpose
// and it will trigger an expected failure
-// UNSUPPORTED: asan, msan, tsan
+// UNSUPPORTED: asan, msan, tsan, hwasan
// test set_new_handler
``````````
</details>
https://github.com/llvm/llvm-project/pull/217086
More information about the libcxx-commits
mailing list