[llvm] [BOLT][RISCV] Handle static IFUNC calls through .iplt (PR #207733)

Kito Cheng via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 02:08:28 PDT 2026


================
@@ -1353,6 +1353,30 @@ void RewriteInstance::discoverFileObjects() {
   // that is a subject to dynamic relocation processing.
   processDynamicRelocations();
 
+  // LLD may canonicalize the only RISC-V IFUNC symbol to its IPLT entry,
----------------
kito-cheng wrote:

I guess it worth to create a new function to handle that maybe `createIFuncResolverFunctions`? Although I see that FDE below just put there.

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


More information about the llvm-commits mailing list