[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
----------------
thurstond wrote:
Nit: please split the %clang_asan and %run parts. The FileCheck is only relevant to the latter.
https://github.com/llvm/llvm-project/pull/221518
More information about the llvm-commits
mailing list