[compiler-rt] [TySan] Added a 'print_stacktrace' flag for more detailed errors (PR #121756)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 05:07:15 PST 2025
================
@@ -0,0 +1,22 @@
+// RUN: %clang_tysan -O0 %s -o %t && %run %t >%t.out 2>&1
+// RUN: FileCheck --check-prefixes=CHECK,CHECK-SHORT %s < %t.out
+
+// RUN: env TYSAN_OPTIONS=print_stacktrace=1 %run %t >%t.out 2>&1
----------------
gbMattN wrote:
Ah! We actually have that already it seems. I'll change that
https://github.com/llvm/llvm-project/pull/121756
More information about the llvm-commits
mailing list