aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/symtab.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/symtab.go')
-rw-r--r--src/runtime/symtab.go16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go
index d61affa54a..c0e8dc279b 100644
--- a/src/runtime/symtab.go
+++ b/src/runtime/symtab.go
@@ -198,15 +198,17 @@ func (f *Func) funcInfo() funcInfo {
//
// See funcdata.h and ../cmd/internal/objabi/funcdata.go.
const (
- _PCDATA_StackMapIndex = 0
- _PCDATA_InlTreeIndex = 1
- _PCDATA_RegMapIndex = 2
+ _PCDATA_RegMapIndex = 0
+ _PCDATA_StackMapIndex = 1
+ _PCDATA_InlTreeIndex = 2
+
_FUNCDATA_ArgsPointerMaps = 0
_FUNCDATA_LocalsPointerMaps = 1
- _FUNCDATA_InlTree = 2
- _FUNCDATA_RegPointerMaps = 3
- _FUNCDATA_StackObjects = 4
- _ArgsSizeUnknown = -0x80000000
+ _FUNCDATA_RegPointerMaps = 2
+ _FUNCDATA_StackObjects = 3
+ _FUNCDATA_InlTree = 4
+
+ _ArgsSizeUnknown = -0x80000000
)
// A FuncID identifies particular functions that need to be treated