Compiling optimized entry points for local-use-only function pointers
AssigneeInternational Business Machines Corporation
InventorsMichael Karl Gschwind, Ulrich Weigand
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMichael Karl Gschwind, Ulrich Weigand
Estimating the term…
Embodiments relate to using a local entry point with an indirect call function. More specifically, an indirect call function configuration comprises a first application module having a target function of the indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate an indirect function call. A compiler determines and indicates, in the program code, that the function pointer value resulting from a non-call reference of a function symbol is solely used to perform indirect calls in the same module, e.g. local-use-only. A linker or loader can read the indication the compiler made in the program code. The linker or loader use the local entry point associated with the target function if the target function is defined in the same module as the reference and is local-use-only.
A method for resolving a function address comprising:
Dependencies are inferred from the claim text.