libgo: update to go1.9
[official-gcc.git] / libgo / go / cmd / internal / objabi / funcdata.go
blob80874edeb0f50dcd200f8bdf5187f0a728d4c67c
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.
5 package objabi
7 // This file defines the IDs for PCDATA and FUNCDATA instructions
8 // in Go binaries.
9 //
10 // These must agree with ../../../runtime/funcdata.h and
11 // ../../../runtime/symtab.go.
13 const (
14 PCDATA_StackMapIndex = 0
15 PCDATA_InlTreeIndex = 1
16 FUNCDATA_ArgsPointerMaps = 0
17 FUNCDATA_LocalsPointerMaps = 1
18 FUNCDATA_InlTree = 2
20 // ArgsSizeUnknown is set in Func.argsize to mark all functions
21 // whose argument size is unknown (C vararg functions, and
22 // assembly code without an explicit specification).
23 // This value is generated by the compiler, assembler, or linker.
24 ArgsSizeUnknown = -0x80000000