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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 16:26:54 PST 2024


================
@@ -2094,6 +2103,10 @@ class BinaryFunction {
   // adjustments.
   void handleAArch64IndirectCall(MCInst &Instruction, const uint64_t Offset);
 
+  /// Analyze instruction to identify a function references.
+  void analyzeInstructionForFuncReference(BinaryContext &BC,
----------------
maksfb wrote:

No need to pass `BinaryContext` since `BinaryFunction` already has it.

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


More information about the llvm-commits mailing list