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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 21:14:54 PST 2024


================
@@ -1521,7 +1521,7 @@ void BinaryFunction::analyzeInstructionForFuncReference(const MCInst &Inst) {
     if (Expr.getKind() != MCExpr::SymbolRef)
       continue;
     const MCSymbol &Symbol = cast<MCSymbolRefExpr>(Expr).getSymbol();
-    // Setting HasAdressTaken for a function regardless ICF level.
+    // Set HasAdressTaken for a function regardless of the ICF level.
----------------
maksfb wrote:

nit: `HasAdressTaken` -> `HasAddressTaken`.

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


More information about the llvm-commits mailing list