| 1 | // Code generated by 'yaegi extract runtime/debug'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "reflect" |
| 10 | "runtime/debug" |
| 11 | ) |
| 12 | |
| 13 | func init() { |
| 14 | Symbols["runtime/debug/debug"] = map[string]reflect.Value{ |
| 15 | // function, constant and variable definitions |
| 16 | "FreeOSMemory": reflect.ValueOf(debug.FreeOSMemory), |
| 17 | "ParseBuildInfo": reflect.ValueOf(debug.ParseBuildInfo), |
| 18 | "PrintStack": reflect.ValueOf(debug.PrintStack), |
| 19 | "ReadBuildInfo": reflect.ValueOf(debug.ReadBuildInfo), |
| 20 | "ReadGCStats": reflect.ValueOf(debug.ReadGCStats), |
| 21 | "SetGCPercent": reflect.ValueOf(debug.SetGCPercent), |
| 22 | "SetMaxStack": reflect.ValueOf(debug.SetMaxStack), |
| 23 | "SetMaxThreads": reflect.ValueOf(debug.SetMaxThreads), |
| 24 | "SetMemoryLimit": reflect.ValueOf(debug.SetMemoryLimit), |
| 25 | "SetPanicOnFault": reflect.ValueOf(debug.SetPanicOnFault), |
| 26 | "SetTraceback": reflect.ValueOf(debug.SetTraceback), |
| 27 | "Stack": reflect.ValueOf(debug.Stack), |
| 28 | "WriteHeapDump": reflect.ValueOf(debug.WriteHeapDump), |
| 29 | |
| 30 | // type definitions |
| 31 | "BuildInfo": reflect.ValueOf((*debug.BuildInfo)(nil)), |
| 32 | "BuildSetting": reflect.ValueOf((*debug.BuildSetting)(nil)), |
| 33 | "GCStats": reflect.ValueOf((*debug.GCStats)(nil)), |
| 34 | "Module": reflect.ValueOf((*debug.Module)(nil)), |
| 35 | } |
| 36 | } |