[compiler-rt] [TySan] Added a 'print_stacktrace' flag for more detailed errors (PR #121756)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 05:43:58 PST 2025


================
@@ -198,7 +198,8 @@ static void reportError(void *Addr, int Size, tysan_type_descriptor *TD,
 
   if (pc) {
 
-    bool request_fast = StackTrace::WillUseFastUnwind(true);
+    bool request_fast =
----------------
gbMattN wrote:

For some reason, setting it to false also gave a full stack printout
Thanks for pointing this out though, I've found the proper way of doing it!

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


More information about the llvm-commits mailing list