期刊文献+

编译基础设施Openimpact调试信息生成的设计

Design of Debugging Information Generation in Compiler Infrastructure Openimpact
下载PDF
导出
摘要 基于编译基础设施Openimpact开发DSP编译器的过程中,调试信息的生成是支持调试功能的必要条件。Openimpact本身并不支持调试信息的生成,它仅仅将调试信息从源代码携带到前端,以高级中间语言Pcode格式存放。为了支持调试信息的生成,我们必须对Openimpact进行适当扩展。本文详细讨论了具体扩展方法,包括调试信息从Pcode格式到低级中间语言Lcode格式的转换以及从Lcode格式到汇编格式的生成。 In the process of developping compiler for DSP based on compiler infrastructure Openimpact, the generation of debugging information is necessary for the support of debugging. Openimpact doesn't support the generation of debugging information which is only carried from source code to front end, stored in the form of advanced intermediate language Pcode. To support the generation of debugging information, it is necessary to make the corresponding expansion on Openimpact. It is discussed in detail that the concrete methods for expansion, containing the conversion of debugging information from Pcode to low-level intermediate language format Lcode and from Lcode format to assembly format.
出处 《计算机系统应用》 2012年第6期106-110,共5页 Computer Systems & Applications
基金 核高基项目(2009ZX01034-001-001-002)
关键词 调试信息 块作用域 行号:变量 debugging information block scope line number variable
  • 相关文献

参考文献5

  • 1戴桂兰,张素琴,田金兰,蒋维杜.编译基础设施中多目标编译技术探讨[J].计算机研究与发展,2003,40(2):312-317. 被引量:6
  • 2R A Bringmann. Template for code generation development using the IMPACT-I C compile. University of Illinois, Urbana IL, 1992.
  • 3B g Rau, V Kathail, S Aditya. Machine-description driven compilers for epic processors. Technical Report. HPL-98-40, Hewlett Packard Laboratories, 1998.
  • 4Julia Menapace, Jim Kingdon, David Mackenzie. The "stabs" debug format.
  • 5Shannon CJ. The IMPACT SC140 Code Generator. Univer- sity of Illinois, Urbana IL,2002.

二级参考文献20

  • 1C W Fraser, D R Hanson. A Retargetable C Compiler: Design and Implementation. Redwood City, CA: Benjamin/Cummings Pub Co, 1995
  • 2R P Wilson et al. SUIF: An infrastructure for research on parallelizing and optimizing compilers. ACM SIGPLAN Notices, 1994, 29(10): 31~37
  • 3R M Stallman, M Richard. Using and Porting GNU CC (for version 2.95). Boston, USA: Free Software Foundation, Inc,1999
  • 4A Andrew et al. The zephyr compiler infrastructure. http://www. cs. virginia. edu/zephyr/
  • 5A V Aho et al. Code generation using tree matching and dynamic programming. ACM Trans on Programming Languages and Systems, 1989, 11(4): 491~516
  • 6M Ganapathi et al. Affix grammar driven code generation. ACM Trans of Programming Languages and Systems, 1985, 7(4): 560~599
  • 7R Moona. Processor models for retargetable tools. The 1 lth Int'l Workshop on Rapid System Prototyping, Faris, France, 2000. 34~39
  • 8R Norman, F F Mary. Specifying representations of machine instructions. ACM Trans on Programming Languages and Systems, 1997, 19(3): 492~524
  • 9C W Fraser, D R Hanson. The lcc 4. x Code-generation interface.Microsoft Research, Tech Rep: MSR-TR-2001-64, 2001
  • 10G R Gao et al. The SGI Pro64 compiler infrastructure: A tutorial. The InC 1 Conf on Parallel Architeture and Compilation Techniques(PACT2000), Philadelphia, USA, 2000

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部