[clang] [llvm] [DLCov 3/5] Implement DebugLoc origin-tracking (PR #107369)

J. Ryan Stinnett via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 03:46:10 PDT 2024


================
@@ -115,6 +138,23 @@ namespace llvm {
     DebugLocKind getKind() const { return Loc.Kind; }
 #endif
 
+#if ENABLE_DEBUGLOC_ORIGIN_TRACKING
+#if !ENABLE_DEBUGLOC_COVERAGE_TRACKING
+#error Cannot enable DebugLoc origin-tracking without coverage-tracking!
+#endif
----------------
jryans wrote:

Hmm, how are environment variables ending up with up confused compiler defines...? Anyway, it's fine to keep, even if highly unlikely to be hit.

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


More information about the llvm-commits mailing list