[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Enable collecting and symbolizing stack traces (PR #143591)
Stephen Tozer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 12 03:59:41 PDT 2025
================
@@ -57,6 +75,28 @@ LLVM_ABI void DisableSystemDialogsOnCrash();
/// specified, the entire frame is printed.
LLVM_ABI void PrintStackTrace(raw_ostream &OS, int Depth = 0);
+#if LLVM_ENABLE_DEBUGLOC_ORIGIN_TRACKING
+#ifdef NDEBUG
+#error DebugLoc origin-tracking should not be enabled in Release builds.
----------------
SLTozer wrote:
The purpose of this is simply to prevent people from accidentally shipping any release compiler with this code compiled in.
https://github.com/llvm/llvm-project/pull/143591
More information about the llvm-branch-commits
mailing list