[compiler-rt] [llvm] [MC/DC][Coverage] Enable profile correlation for MC/DC (PR #136437)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 15:54:32 PST 2025


================
@@ -191,8 +199,8 @@ class DwarfInstrProfCorrelator : public InstrProfCorrelatorImpl<IntPtrT> {
   std::optional<uint64_t> getLocation(const DWARFDie &Die) const;
 
   /// Returns true if the provided DIE symbolizes an instrumentation probe
-  /// symbol.
-  static bool isDIEOfProbe(const DWARFDie &Die);
+  /// symbol of the necessary type.
+  static bool isDIEOfProbe(const DWARFDie &Die, const StringRef &Prefix);
----------------
ellishg wrote:

`StringRef` does not need `const` and is already a reference
```suggestion
  static bool isDIEOfProbe(const DWARFDie &Die, StringRef Prefix);
```

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


More information about the llvm-commits mailing list