Help us shape the future of Go! Take the 2026 Go Developer Survey

debug

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LLGoPackage = "link"
	LLGoFiles   = "_wrap/debug.c"
)

Variables

This section is empty.

Functions

func Address

func Address() unsafe.Pointer

func Addrinfo

func Addrinfo(addr unsafe.Pointer, info *Info) c.Int

func StackTrace

func StackTrace(skip int, fn func(fr *Frame) bool)

Types

type Frame

type Frame struct {
	PC     uintptr
	Offset uintptr
	SP     unsafe.Pointer
	Name   string
}

type Info

type Info struct {
	Fname *c.Char
	Fbase c.Pointer
	Sname *c.Char
	Saddr c.Pointer
}

Directories

Path Synopsis
_demo
funcinfo command
stacktrace command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL