[compiler-rt] [Sanitizers][Darwin][Test] The top few frames are inaccurate in UBSan. (PR #153899)
Usama Hameed via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 15 16:15:58 PDT 2025
https://github.com/usama54321 created https://github.com/llvm/llvm-project/pull/153899
XFailing until further investigation
rdar://158303080
>From 26475415e371dabb26c64ad2bd9a9540f5d128c1 Mon Sep 17 00:00:00 2001
From: usama <u_hameed at apple.com>
Date: Fri, 15 Aug 2025 16:10:23 -0700
Subject: [PATCH] [Sanitizers][Darwin][Test] The top few frames are inaccurate
in UBSan. XFailing until further investigation
rdar://158303080
---
.../TestCases/Posix/dedup_token_length_test.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
index deedbba76cdeb..37bfee4806173 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
@@ -10,6 +10,10 @@
// REQUIRES: stable-runtime
+// rdar://158303080 top few frames are at times inaccurate in ubsan fast stack
+// unwind on darwin
+// XFAIL: (darwin && ubsan && (arm64-target-arch || arm64e-target-arch))
+
// XFAIL: target={{.*netbsd.*}} && !asan
volatile int *null = 0;
More information about the llvm-commits
mailing list