[clang] [llvm] [DLCov 3/5] Implement DebugLoc origin-tracking (PR #107369)
J. Ryan Stinnett via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 10:30:46 PDT 2024
================
@@ -55,6 +73,28 @@ namespace sys {
/// specified, the entire frame is printed.
void PrintStackTrace(raw_ostream &OS, int Depth = 0);
+#if ENABLE_DEBUGLOC_ORIGIN_TRACKING
+#ifdef NDEBUG
+#error DebugLoc origin-tracking should not be enabled in Release builds.
+#endif
+ /// Populates the given array with a stacktrace of the current program, up to
----------------
jryans wrote:
stacktrace -> stack trace
https://github.com/llvm/llvm-project/pull/107369
More information about the cfe-commits
mailing list