Windows NT (COFF32) Symbolic Debug Directives

When the object file format is COFF32 (Windows NT), the symbolic debug directive .ln stores the line number table entry of a function in the symbolic debug information. The symbolic debug directive .ln must be enclosed within a function defined by the .bf and .ef directives. The .bf and .ef directives define the beginning and the end of a function.

The .ln directive has the following format:

.ln   line-number[,function]

Where:

line-number

Specifies the source line number associated with the next assembled instruction.

function

Is the name of the current function.

 

The .bf and .ef directives have the following format:

.bf   function,line

.ef  function,line,code-size

Where:

function

Represents the function name.

line

Is an integer number corresponding to the first source line of the function.

code-size

Is an integer number representing line group code size, which is written as debug information.