[llvm] [BOLT] Add support for safe-icf (PR #116275)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 16:01:11 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>
----------------
maksfb wrote:

The flag and `ICFLevel` belong to the corresponding pass, not `BinaryContext`.

https://github.com/llvm/llvm-project/pull/116275


More information about the llvm-commits mailing list