diff options
author | William Junda Huang <huangjd@alum.mit.edu> | 2024-08-28 21:33:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 21:33:24 -0400 |
commit | 92885bbeab632875929827a09841237cd59405fb (patch) | |
tree | 82e781823c542422d713f4d97bfc7e442fa72da0 /llvm/tools/llvm-profdata | |
parent | 438ad9f2bf25575c474313de4ad85a5da6f69e4c (diff) | |
download | llvm-revert-101795-llvmprofdataFlatProfile.zip llvm-revert-101795-llvmprofdataFlatProfile.tar.gz llvm-revert-101795-llvmprofdataFlatProfile.tar.bz2 |
Revert "[llvm-profdata] Enabled functionality to write split-layout profile (…"revert-101795-llvmprofdataFlatProfile
This reverts commit 75e9d191f52b047ea839f75ab2a7a7d9f8c6becd.
Diffstat (limited to 'llvm/tools/llvm-profdata')
-rw-r--r-- | llvm/tools/llvm-profdata/llvm-profdata.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp index 3b775de..1f6c4c6 100644 --- a/llvm/tools/llvm-profdata/llvm-profdata.cpp +++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp @@ -207,12 +207,6 @@ cl::opt<bool> GenPartialProfile( "gen-partial-profile", cl::init(false), cl::Hidden, cl::sub(MergeSubcommand), cl::desc("Generate a partial profile (only meaningful for -extbinary)")); -cl::opt<bool> SplitLayout( - "split-layout", cl::init(false), cl::Hidden, - cl::sub(MergeSubcommand), - cl::desc("Split the profile to two sections with one containing sample " - "profiles with inlined functions and the other without (only " - "meaningful for -extbinary)")); cl::opt<std::string> SupplInstrWithSample( "supplement-instr-with-sample", cl::init(""), cl::Hidden, cl::sub(MergeSubcommand), @@ -1473,13 +1467,6 @@ static void handleExtBinaryWriter(sampleprof::SampleProfileWriter &Writer, sampleprof::ProfileSymbolList &WriterList, bool CompressAllSections, bool UseMD5, bool GenPartialProfile) { - if (SplitLayout) { - if (OutputFormat == PF_Binary) - warn("-split-layout is ignored. Specify -extbinary to enable it"); - else - Writer.setUseCtxSplitLayout(); - } - populateProfileSymbolList(Buffer, WriterList); if (WriterList.size() > 0 && OutputFormat != PF_Ext_Binary) warn("Profile Symbol list is not empty but the output format is not " |