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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 17:34:11 PST 2024


================
@@ -36,6 +38,15 @@ class IdenticalCodeFolding : public BinaryFunctionPass {
 
   const char *getName() const override { return "identical-code-folding"; }
   Error runOnFunctions(BinaryContext &BC) override;
+
+private:
+  /// Analyses .text section and relocations and marks functions that are not
----------------
dcci wrote:

"Analyses `.text` section". Do you mean Analyze? Also, marks -> mark.

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


More information about the llvm-commits mailing list