[compiler-rt] 039f0e6 - [Sanitizer][Test] Disable atos test on unknown address for ubsan
Blue Gaston via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 19:13:48 PDT 2023
Author: Blue Gaston
Date: 2023-04-10T19:11:43-07:00
New Revision: 039f0e69a45ea007f1454ba1d4eb4628e3d20e28
URL: https://github.com/llvm/llvm-project/commit/039f0e69a45ea007f1454ba1d4eb4628e3d20e28
DIFF: https://github.com/llvm/llvm-project/commit/039f0e69a45ea007f1454ba1d4eb4628e3d20e28.diff
LOG: [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
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp b/compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp
index 3d1c112ec941e..b7bbae708b49a 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Darwin/atos-symbolized-recover.cpp
@@ -4,6 +4,9 @@
// RUN: %clangxx -O0 %s -o %t
// RUN: not %run %t 2>&1 | FileCheck %s
+// UBsan does not always symbolicate unknown address rdar://107846128
+// UNSUPPORTED: ubsan
+
void bar() {
void *invalid_addr = reinterpret_cast<void *>(0xDEADBEEF);
void (*func_ptr)() = reinterpret_cast<void (*)()>(invalid_addr);
More information about the llvm-commits
mailing list