[compiler-rt] [Profile] Refactor profile correlation. (PR #69656)
Zequan Wu via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 14:06:59 PDT 2023
================
@@ -24,15 +24,37 @@
using namespace llvm;
-/// Get the __llvm_prf_cnts section.
-Expected<object::SectionRef> getCountersSection(const object::ObjectFile &Obj) {
+namespace llvm {
+// Deprecated. Use -profile-correlate=debug-info.
+cl::opt<bool>
+ DebugInfoCorrelate("profile-correlate=debug-info",
----------------
ZequanWu wrote:
Yes, thanks for catching it.
https://github.com/llvm/llvm-project/pull/69656
More information about the llvm-commits
mailing list