Documentation ¶
Index ¶
- type DIBuilder
- func (d *DIBuilder) DIType(t types.Type) llvm.Value
- func (d *DIBuilder) Declare(b llvm.Builder, v ssa.Value, llv llvm.Value, paramIndex int)
- func (d *DIBuilder) Destroy()
- func (d *DIBuilder) Finalize()
- func (d *DIBuilder) PopFunction()
- func (d *DIBuilder) PushFunction(fnptr llvm.Value, sig *types.Signature, pos token.Pos)
- func (d *DIBuilder) SetLocation(b llvm.Builder, pos token.Pos)
- func (d *DIBuilder) Value(b llvm.Builder, v ssa.Value, llv llvm.Value, paramIndex int)
- type PrefixMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DIBuilder ¶
type DIBuilder struct {
// contains filtered or unexported fields
}
DIBuilder builds debug metadata for Go programs.
func NewDIBuilder ¶
func NewDIBuilder(sizes types.Sizes, module llvm.Module, fset *token.FileSet, prefixMaps []PrefixMap) *DIBuilder
NewDIBuilder creates a new debug information builder.
func (*DIBuilder) Declare ¶
Declare creates an llvm.dbg.declare call for the specified function parameter or local variable.
func (*DIBuilder) Finalize ¶
func (d *DIBuilder) Finalize()
Finalize must be called after all compilation units are translated, generating the final debug metadata for the module.
func (*DIBuilder) PopFunction ¶
func (d *DIBuilder) PopFunction()
PopFunction pops the previously pushed function off the scope stack.
func (*DIBuilder) PushFunction ¶
PushFunction creates debug metadata for the specified function, and pushes it onto the scope stack.
func (*DIBuilder) SetLocation ¶
SetLocation sets the current debug location.
Click to show internal directories.
Click to hide internal directories.