APIdia Launch Partner
Top Description Methods
sun.jvm.hotspot.debugger.win32.coff

public Interface COFFLineNumber

Known Direct Implementers
sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.COFFFileImpl.COFFHeaderImpl.COFFLineNumberImpl

Describes a COFF line number. (Some of the descriptions are taken directly from Microsoft's documentation and are copyrighted by Microsoft.)

Method Summary

Modifier and TypeMethod and Description
public short
getLineNumber()

When nonzero, this field specifies a one-based line number.

public int
getType()

Union of two fields: Symbol Table Index and RVA.

Method Detail

getLineNumberback to summary
public short getLineNumber()

When nonzero, this field specifies a one-based line number. When zero, the Type field is interpreted as a Symbol Table Index for a function.

getTypeback to summary
public int getType()

Union of two fields: Symbol Table Index and RVA. Whether Symbol Table Index or RVA is used depends on the value of getLineNumber().

SymbolTableIndex is used when getLineNumber() is 0: index to symbol table entry for a function. This format is used to indicate the function that a group of line-number records refer to.

VirtualAddress is used when LineNumber is non-zero: relative virtual address of the executable code that corresponds to the source line indicated. In an object file, this contains the virtual address within the section.