package
1.22.2
Repository: https://github.com/go-asm/go.git
Documentation: pkg.go.dev

# Functions

MakePos creates a new Pos value with the given base, and (file-absolute) line and column.
NewFileBase returns a new *PosBase for a file with the given (relative and absolute) filenames.
NewInliningBase returns a copy of the orig PosBase with the given inlining index.
NewLinePragmaBase returns a new *PosBase for a line directive of the form //line filename:line:col /*line filename:line:col*/ at position pos.

# Constants

FileSymPrefix is the linker symbol prefix that used to be used for linker pseudo-symbols representing file names.
No description provided by the author
Default; position is not a statement boundary, but might be if optimization removes the designated statement boundary.
No description provided by the author
Position is a statement boundary; if optimization removes the corresponding instruction, it should attempt to find a new instruction to be the boundary.
Position should not be a statement boundary, but line should be preserved for profiling and low-level debugging purposes.
No description provided by the author

# Variables

NoPos is a valid unknown position.
NoXPos is a valid unknown position.

# Structs

A Pos encodes a source position consisting of a (line, column) number pair and a position base.
A PosBase encodes a filename and base position.
A PosTable tracks Pos -> XPos conversions and vice versa.
XPos is a more compact representation of Pos.

# Type aliases

No description provided by the author