Documentation ¶
Index ¶
Constants ¶
View Source
const GenericTrapForGo118And119 = `` /* 707-byte string literal not displayed */
View Source
const NoderFiles_1_17 = `` /* 660-byte string literal not displayed */
View Source
const NoderFiles_1_20 = `` /* 659-byte string literal not displayed */
View Source
const NoderFiles_1_21 = `` /* 661-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 = `` /* 1289-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(xgo_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 TestingEnd = `for _,__xgo_on_test_end:=range __xgo_link_get_test_ends(){
defer (__xgo_on_test_end.(func(*T,func(*T))))(t,fn)
}
`
View Source
const TestingEndCallbackDeclarations = `func __xgo_link_get_test_ends() []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.