================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits