首页> 外国专利> 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.
机译:实施例涉及将本地入口点与间接调用功能一起使用。更具体地,间接调用功能配置包括具有间接功能调用的目标功能的第一应用模块,具有对间接功能调用的目标功能的符号引用的第二应用模块,以及发起间接的第三应用模块。函数调用。编译器确定并在程序代码中指示由功能符号的非调用引用产生的功能指针值仅用于在同一模块中执行间接调用,例如,仅本地使用。链接器或加载器可以读取程序代码中编译器发出的指示。如果目标函数是在与引用相同的模块中定义的,并且仅在本地使用,则链接程序或加载程序将使用与目标函数关联的本地入口点。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号