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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 7 13:18:42 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 \
----------------
MaskRay wrote:

Add a comment that this is to complement `GET_MALLOC_STACK_TRACE` when not tracking origins.

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


More information about the llvm-commits mailing list