首页>
外国专利>
Loading optimized local entry points for local-use-only function pointers
Loading optimized local entry points for local-use-only function pointers
展开▼
机译:为仅本地使用的函数指针加载优化的本地入口点
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼