diff options
author | Zequan Wu <zequanwu@google.com> | 2023-10-31 10:53:45 -0400 |
---|---|---|
committer | Zequan Wu <zequanwu@google.com> | 2023-10-31 10:53:45 -0400 |
commit | db7a1ed9a22fadacfa651e88d0f75f365d44af9a (patch) | |
tree | 4d3ff24c3f0afb6ae6062de731e049d422582f9c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 64859781207969e6d8b7eb69c61ed0feff42113c (diff) | |
download | llvm-db7a1ed9a22fadacfa651e88d0f75f365d44af9a.zip llvm-db7a1ed9a22fadacfa651e88d0f75f365d44af9a.tar.gz llvm-db7a1ed9a22fadacfa651e88d0f75f365d44af9a.tar.bz2 |
Revert "[Profile] Refactor profile correlation. (#70712)"
This reverts commit 4b383d0af93136b80841fc140da0823dfc441dd4.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index cf4983a..f3ba38081 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -57,7 +57,6 @@ #include "llvm/MC/MCValue.h" #include "llvm/MC/SectionKind.h" #include "llvm/ProfileData/InstrProf.h" -#include "llvm/ProfileData/InstrProfCorrelator.h" #include "llvm/Support/Base64.h" #include "llvm/Support/Casting.h" #include "llvm/Support/CodeGen.h" @@ -72,24 +71,6 @@ using namespace llvm; using namespace dwarf; -namespace llvm { -// Deprecated. Use -profile-correlate=debug-info. -cl::opt<bool> DebugInfoCorrelate( - "debug-info-correlate", - cl::desc("Use debug info to correlate profiles (Deprecated). Use " - "-profile-correlate=debug-info instead."), - cl::init(false)); - -cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate( - "profile-correlate", - cl::desc("Use debug info or binary file to correlate profiles."), - cl::init(InstrProfCorrelator::NONE), - cl::values(clEnumValN(InstrProfCorrelator::NONE, "", - "No profile correlation"), - clEnumValN(InstrProfCorrelator::DEBUG_INFO, "debug-info", - "Use debug info to correlate"))); -} // namespace llvm - static cl::opt<bool> JumpTableInFunctionSection( "jumptable-in-function-section", cl::Hidden, cl::init(false), cl::desc("Putting Jump Table in function section")); |