debug

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 2 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

Jump to

Keyboard shortcuts

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