[clang] [llvm] [DLCov 3/5] Implement DebugLoc origin-tracking (PR #107369)
J. Ryan Stinnett via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 10:30:47 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:
Not sure how critical checking this case is... IIUC, CMake options won't let you set such anything anyway, so perhaps remove this?
If keeping it, perhaps remove the blank line after this `#endif` here.
https://github.com/llvm/llvm-project/pull/107369
More information about the llvm-commits
mailing list