[compiler-rt] [asan][test] Check that stack traces are not truncated (PR #221518)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 5 21:23:55 PDT 2026


================
@@ -0,0 +1,52 @@
+// Check that a report's stack traces are complete: the access, the free and the
+// malloc traces must each name the whole call chain, not just the innermost
+// frame or two. An unwinder that walks a frame layout the target does not use
+// stops early and still prints a plausible looking report.
+
+// RUN: %clang_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// REQUIRES: stable-runtime
+
----------------
thurstond wrote:

By design, this test should fail on Alpha, right? Does Alpha set a build annotation that can be used for XFAIL (to avoid breaking any Alpha buildbots, and also to document the test)?

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


More information about the llvm-commits mailing list