首页> 外文会议>ACM SIGPLAN conference on Programming language design and implementation >A new framework for debugging globally optimized code
【24h】

A new framework for debugging globally optimized code

机译:用于调试全局优化代码的新框架

获取原文

摘要

With an increasing number of executable binaries generated by optimizing compilers today, providing a clear and correct source-level debugger for programmers to debug optimized code has become a necessity. In this paper, a new framework for debugging globally optimized code is proposed. This framework consists of a new code location mapping scheme, a data location tracking scheme, and an emulation-based forward recovery model. By taking over the control early and emulating instructions selectively, the debugger can preserve and gather the required program state for the recovery of expected variable values at source breakpoints. The framework has been prototyped in the IMPACT compiler and GDB-4.16. Preliminary experiments conducted on several SPEC95 integer programs have yielded encouraging results. The extra time needed for the debugger to calculate the limits of the emulated region and to emulate instructions is hardly noticeable, while the increase in executable file size due to the extra debuginformation is on average 76% of that of the executable file with no debug information.
机译:如今,通过优化编译器生成的可执行二进制文件数量越来越多,为程序员提供一个清晰,正确的源代码级调试器以调试优化的代码已成为一种必要。本文提出了一种调试全局优化代码的新框架。该框架由新的代码位置映射方案,数据位置跟踪方案和基于仿真的前向恢复模型组成。通过尽早接管控制并有选择地模拟指令,调试器可以保留和收集所需的程序状态,以在源断点处恢复期望的变量值。该框架已在IMPACT编译器和GDB-4.16中原型化。在几个SPEC95整数程序上进行的初步实验已得出令人鼓舞的结果。调试器计算仿真区域的限制并仿真指令所需的额外时间几乎不会引起注意,而由于额外的调试信息导致可执行文件大小的增加平均为没有调试信息的可执行文件大小的76% 。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号