[llvm] [BOLT] Add support for safe-icf (PR #116275)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 18:32:36 PST 2024
================
@@ -75,6 +75,19 @@ cl::opt<std::string> CompDirOverride(
"location, which is used with DW_AT_dwo_name to construct a path "
"to *.dwo files."),
cl::Hidden, cl::init(""), cl::cat(BoltCategory));
+
+cl::opt<bolt::BinaryContext::ICFLevel>
----------------
ayermolo wrote:
It's the same as other issue. it's used in processInstructionForFuncReferences. If I move it to Passes then LLVMBOLTCore will need to depend on LLVMBOLTPasses. Which will create a circular decency for shared build mode.
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list