Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../lib/golang/src/runtime
File: funcdata.h
// Copyright 2013 The Go Authors. All rights reserved.
[0] Fix | Delete
// Use of this source code is governed by a BSD-style
[1] Fix | Delete
// license that can be found in the LICENSE file.
[2] Fix | Delete
[3] Fix | Delete
// This file defines the IDs for PCDATA and FUNCDATA instructions
[4] Fix | Delete
// in Go binaries. It is included by assembly sources, so it must
[5] Fix | Delete
// be written using #defines.
[6] Fix | Delete
//
[7] Fix | Delete
// These must agree with internal/abi/symtab.go.
[8] Fix | Delete
[9] Fix | Delete
#define PCDATA_UnsafePoint 0
[10] Fix | Delete
#define PCDATA_StackMapIndex 1
[11] Fix | Delete
#define PCDATA_InlTreeIndex 2
[12] Fix | Delete
#define PCDATA_ArgLiveIndex 3
[13] Fix | Delete
[14] Fix | Delete
#define FUNCDATA_ArgsPointerMaps 0 /* garbage collector blocks */
[15] Fix | Delete
#define FUNCDATA_LocalsPointerMaps 1
[16] Fix | Delete
#define FUNCDATA_StackObjects 2
[17] Fix | Delete
#define FUNCDATA_InlTree 3
[18] Fix | Delete
#define FUNCDATA_OpenCodedDeferInfo 4 /* info for func with open-coded defers */
[19] Fix | Delete
#define FUNCDATA_ArgInfo 5
[20] Fix | Delete
#define FUNCDATA_ArgLiveInfo 6
[21] Fix | Delete
#define FUNCDATA_WrapInfo 7
[22] Fix | Delete
[23] Fix | Delete
// Pseudo-assembly statements.
[24] Fix | Delete
[25] Fix | Delete
// GO_ARGS, GO_RESULTS_INITIALIZED, and NO_LOCAL_POINTERS are macros
[26] Fix | Delete
// that communicate to the runtime information about the location and liveness
[27] Fix | Delete
// of pointers in an assembly function's arguments, results, and stack frame.
[28] Fix | Delete
// This communication is only required in assembly functions that make calls
[29] Fix | Delete
// to other functions that might be preempted or grow the stack.
[30] Fix | Delete
// NOSPLIT functions that make no calls do not need to use these macros.
[31] Fix | Delete
[32] Fix | Delete
// GO_ARGS indicates that the Go prototype for this assembly function
[33] Fix | Delete
// defines the pointer map for the function's arguments.
[34] Fix | Delete
// GO_ARGS should be the first instruction in a function that uses it.
[35] Fix | Delete
// It can be omitted if there are no arguments at all.
[36] Fix | Delete
// GO_ARGS is inserted implicitly by the linker for any function whose
[37] Fix | Delete
// name starts with a middle-dot and that also has a Go prototype; it
[38] Fix | Delete
// is therefore usually not necessary to write explicitly.
[39] Fix | Delete
#define GO_ARGS FUNCDATA $FUNCDATA_ArgsPointerMaps, go_args_stackmap(SB)
[40] Fix | Delete
[41] Fix | Delete
// GO_RESULTS_INITIALIZED indicates that the assembly function
[42] Fix | Delete
// has initialized the stack space for its results and that those results
[43] Fix | Delete
// should be considered live for the remainder of the function.
[44] Fix | Delete
#define GO_RESULTS_INITIALIZED PCDATA $PCDATA_StackMapIndex, $1
[45] Fix | Delete
[46] Fix | Delete
// NO_LOCAL_POINTERS indicates that the assembly function stores
[47] Fix | Delete
// no pointers to heap objects in its local stack variables.
[48] Fix | Delete
#define NO_LOCAL_POINTERS FUNCDATA $FUNCDATA_LocalsPointerMaps, no_pointers_stackmap(SB)
[49] Fix | Delete
[50] Fix | Delete
// ArgsSizeUnknown is set in Func.argsize to mark all functions
[51] Fix | Delete
// whose argument size is unknown (C vararg functions, and
[52] Fix | Delete
// assembly code without an explicit specification).
[53] Fix | Delete
// This value is generated by the compiler, assembler, or linker.
[54] Fix | Delete
#define ArgsSizeUnknown 0x80000000
[55] Fix | Delete
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function