[compiler-rt] [msan] Unwind stack before fatal reports (PR #77168)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 11:27:21 PST 2024


================
@@ -321,6 +321,9 @@ const int STACK_TRACE_TAG_VPTR = STACK_TRACE_TAG_FIELDS + 1;
     stack.Unwind(pc, bp, nullptr, common_flags()->fast_unwind_on_fatal); \
   }
 
+#define GET_FATAL_STACK_TRACE \
----------------
vitalybuka wrote:

I think it's redundant here, we have similar macro in other sanitizers, and it's just shortcut for GET_FATAL_STACK_TRACE_PC_BP.

Maybe these way as in new snapshot?

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


More information about the llvm-commits mailing list