[llvm] [DLCov][NFC] Propagate annotated DebugLocs through transformations (PR #138047)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 12 02:37:47 PDT 2025
================
@@ -142,6 +142,31 @@ namespace llvm {
static inline DebugLoc getDropped() { return DebugLoc(); }
#endif // LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING
+ static DebugLoc getMergedLocations(ArrayRef<DebugLoc> Locs);
----------------
SLTozer wrote:
I've tried moving the detailed comment over to the `DebugLoc` version, and added a shortened comment noting that the `DebugLoc` version is preferred - does this look good?
https://github.com/llvm/llvm-project/pull/138047
More information about the llvm-commits
mailing list