Skip to content

Commit 7e99d20

Browse files
committed
[Sanitizer][Test] Disable atos test on unknown address for ubsan
This test is failing for some cases in CI for ubsan. I suspect because of the undefined behavior nature of the test, ubsan does not always try to symbolicate or save the frame for the faulting address. Specifically is failing on x86 CI. But making this unsupported on ubsan for now. rdar://107846128 Differential Revision: https://reviews.llvm.org/D147977
1 parent 67a031c commit 7e99d20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %clangxx -O0 %s -o %t
55
// RUN: not %run %t 2>&1 | FileCheck %s
66

7+
// UBsan does not always symbolicate unknown address rdar://107846128
8+
// UNSUPPORTED: ubsan
9+
710
void bar() {
811
void *invalid_addr = reinterpret_cast<void *>(0xDEADBEEF);
912
void (*func_ptr)() = reinterpret_cast<void (*)()>(invalid_addr);

0 commit comments

Comments
 (0)