[llvm] [BOLT] Add support for safe-icf (PR #116275)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 12:40:51 PST 2024
================
@@ -2094,6 +2103,10 @@ 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);
----------------
aaupov wrote:
nit: make it explicit that we check address-taken references?
Please also update the comment
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list