github.com/rohankumardubey/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/src/pkg/runtime/funcdata.h (about)

     1  // Copyright 2013 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // This file defines the IDs for PCDATA and FUNCDATA instructions
     6  // in Go binaries. It is included by both C and assembly, so it must
     7  // be written using #defines. It is included by the runtime package
     8  // as well as the compilers.
     9  
    10  #define PCDATA_ArgSize 0 /* argument size at CALL instruction */
    11  
    12  #define FUNCDATA_GCArgs 0 /* garbage collector blocks */
    13  #define FUNCDATA_GCLocals 1
    14  
    15  // To be used in assembly.
    16  #define ARGSIZE(n) PCDATA $PCDATA_ArgSize, $n
    17  
    18  // ArgsSizeUnknown is set in Func.argsize to mark all functions
    19  // whose argument size is unknown (C vararg functions, and
    20  // assembly code without an explicit specification).
    21  // This value is generated by the compiler, assembler, or linker.
    22  #define ArgsSizeUnknown 0x80000000