package
0.0.0-20231026082336-871835fb94c6
Repository: https://github.com/goshafaq/sonic.git
Documentation: pkg.go.dev
# Functions
WrapGoC wraps C functions and loader it into Go stubs.
# Constants
ArgsSizeUnknown is set in Func.argsize to mark all functions whose argument size is unknown (C vararg functions, and assembly code without an explicit specification).
Note: This list must match the list in runtime/symtab.go.
Note: This list must match the list in runtime/symtab.go.
Note: This list must match the list in runtime/symtab.go.
PCDATA_Restart1(2) apply on a sequence of instructions, within which if an async preemption happens, we should back off the PC to the start of the sequence when resume.
No description provided by the author
Like PCDATA_RestartAtEntry, but back to function entry if async preempted.
Safe for async preemption.
Unsafe for async preemption.
# Structs
CFunc is a function information for C func.
Func contains information about a function.
GoC is the wrapper for Go calls to C.
Loader is a helper used to load a module simply.
Options used to load a module.
Pcvalue is the program count corresponding to the value Val
WARN: we use relative value here (to function entry).