[llvm] [BOLT] Add support for safe-icf (PR #116275)
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 19:51:03 PST 2024
================
@@ -660,6 +672,9 @@ class BinaryContext {
std::unique_ptr<MCAsmBackend> MAB;
+ /// ICF level to use for this binary.
+ ICFLevel ICFLevelVar{ICFLevel::None};
----------------
dcci wrote:
It's awkward to call a variable with the suffix Var. Can't you just call it CurrICFLevel or something?
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list