summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/google/gops/internal/obj/textflag.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-08-06 21:47:05 +0200
committerWim <wim@42.be>2018-08-06 21:47:05 +0200
commit51062863a5c34d81e296cf15c61140911037cf3b (patch)
tree9b5e044672486326c7a0ca8fb26430f37bf4d83c /vendor/github.com/google/gops/internal/obj/textflag.go
parent4fb4b7aa6c02a54db8ad8dd98e4d321396926c0d (diff)
downloadmatterbridge-msglm-51062863a5c34d81e296cf15c61140911037cf3b.tar.gz
matterbridge-msglm-51062863a5c34d81e296cf15c61140911037cf3b.tar.bz2
matterbridge-msglm-51062863a5c34d81e296cf15c61140911037cf3b.zip
Use mod vendor for vendored directory (backwards compatible)
Diffstat (limited to 'vendor/github.com/google/gops/internal/obj/textflag.go')
-rw-r--r--vendor/github.com/google/gops/internal/obj/textflag.go50
1 files changed, 0 insertions, 50 deletions
diff --git a/vendor/github.com/google/gops/internal/obj/textflag.go b/vendor/github.com/google/gops/internal/obj/textflag.go
deleted file mode 100644
index d8a52da4..00000000
--- a/vendor/github.com/google/gops/internal/obj/textflag.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// This file defines flags attached to various functions
-// and data objects. The compilers, assemblers, and linker must
-// all agree on these values.
-
-package obj
-
-const (
- // Don't profile the marked routine.
- //
- // Deprecated: Not implemented, do not use.
- NOPROF = 1
-
- // It is ok for the linker to get multiple of these symbols. It will
- // pick one of the duplicates to use.
- DUPOK = 2
-
- // Don't insert stack check preamble.
- NOSPLIT = 4
-
- // Put this data in a read-only section.
- RODATA = 8
-
- // This data contains no pointers.
- NOPTR = 16
-
- // This is a wrapper function and should not count as disabling 'recover'.
- WRAPPER = 32
-
- // This function uses its incoming context register.
- NEEDCTXT = 64
-
- // When passed to ggloblsym, causes Local to be set to true on the LSym it creates.
- LOCAL = 128
-
- // Allocate a word of thread local storage and store the offset from the
- // thread local base to the thread local storage in this variable.
- TLSBSS = 256
-
- // Do not insert instructions to allocate a stack frame for this function.
- // Only valid on functions that declare a frame size of 0.
- // TODO(mwhudson): only implemented for ppc64x at present.
- NOFRAME = 512
-
- // Function can call reflect.Type.Method or reflect.Type.MethodByName.
- REFLECTMETHOD = 1024
-)