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

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 16:07:09 PST 2024


================
@@ -2103,9 +2103,9 @@ class BinaryFunction {
   // adjustments.
   void handleAArch64IndirectCall(MCInst &Instruction, const uint64_t Offset);
 
-  /// Processes code section to identify function references.
-  void processInstructionsForFuncReferences(BinaryContext &BC,
-                                            const MCInst &Inst);
+  /// Analyze instruction to identify a function references.
----------------
aaupov wrote:

```suggestion
  /// Analyze instruction to identify a function reference.
```

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


More information about the llvm-commits mailing list