Documentation ¶
Index ¶
Constants ¶
View Source
const GenericTrapForGo118And119 = `` /* 707-byte string literal not displayed */
View Source
const NoderFiles_1_17 = `` /* 525-byte string literal not displayed */
View Source
const NoderFiles_1_20 = `` /* 524-byte string literal not displayed */
View Source
const NoderFiles_1_21 = `` /* 526-byte string literal not displayed */
View Source
const NodesGen = `
func (n *node) SetPos(p Pos) {
n.pos = p
}
`
View Source
const Nodes_Inspect_117 = `` /* 152-byte string literal not displayed */
View Source
const RuntimeExtraDef = `` /* 1004-byte string literal not displayed */
View Source
const RuntimeGetFuncName_Go117_120 = `
func __xgo_get_pc_name_impl(pc uintptr) string {
return FuncForPC(pc).Name()
}
`
View Source
const RuntimeGetFuncName_Go120_Unused = `` /* 309-byte string literal not displayed */
FuncForPC(pc).Name() just works fine, there is no string split
View Source
const RuntimeGetFuncName_Go121 = `` /* 320-byte string literal not displayed */
start with go1.21, the runtime.FuncForPC(pc).Name() was wrapped in funcNameForPrint(...), we unwrap it NOTE: when upgrading to go1.23, should check the implementation again
View Source
const RuntimeProcGoroutineCreatedPatch = `for _, fn := range __xgo_on_gonewproc_callbacks {
fn(uintptr(unsafe.Pointer(newg)))
}
return newg
`
View Source
const RuntimeProcGoroutineExitPatch = `for _, fn := range __xgo_on_goexits {
fn()
}`
added after goroutine exit1
View Source
const RuntimeProcPatch = `` /* 131-byte string literal not displayed */
View Source
const TestingCallbackDeclarations = `func __xgo_link_get_test_starts() []interface{}{
// link by compiler
return nil
}
`
View Source
const TestingStart = `for _,__xgo_on_test_start:=range __xgo_link_get_test_starts(){
(__xgo_on_test_start.(func(*T,func(*T))))(t,fn)
}
`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.