[PATCH] D114565: [InstrProf] Attach debug info to counters

Kyungwoo Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 2 17:26:39 PST 2021


kyulee added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp:961
+      DB.finalize();
+    }
+  }
----------------
I think when `-debug-info-correlate` is used without debug info, we should fail or emit a warning here instead of silently proceeding it because we cannot correlate it anyhow down the road.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114565/new/

https://reviews.llvm.org/D114565



More information about the cfe-commits mailing list