[compiler-rt] [Sanitizers][Darwin][Test] The top few frames are inaccurate in UBSan. (PR #153899)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 16:16:26 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Usama Hameed (usama54321)

<details>
<summary>Changes</summary>

XFailing until further investigation

rdar://158303080

---
Full diff: https://github.com/llvm/llvm-project/pull/153899.diff


1 Files Affected:

- (modified) compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp (+4) 


``````````diff
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;

``````````

</details>


https://github.com/llvm/llvm-project/pull/153899


More information about the llvm-commits mailing list