emitd2.txt

来自「开放源码的编译器open watcom 1.6.0版的源代码」· 文本 代码 · 共 31 行

TXT
31
字号
Generation of Symbolic Debugging Information "-d2"

Issues
======
- special stuff to skip over thunks?

Sequencing
==========
- D2 debugging information
  - traverse type structure
  - traverse symbol table
- Dwarf information
- code generation

For D2 debugging information
============================

A. Traverse type structure in two stages:
    1. All the fundamental types, map multiple flavours of base type to a
       common dbug_type
    2. All the typedef entries. (this will catch all the named types)

B. Traverse the symbol table, emitting information for interesting entries
    - what makes a symbol interesting?
	a. flags & (SF_INITIALIZED|SF_REFERENCED)
	b. ???

C. Support emission of type information on 'as needed' basis while generating
    other types and symbols.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?