================ @@ -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. ---------------- jmorse wrote:
Why's this not appropriate in release builds -- if compiled with `fno-omit-frame-pointer` would it work? https://github.com/llvm/llvm-project/pull/143591 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits