mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: check consistency of all module data objects
Current code just checks the consistency (that the functab is correctly sorted by PC, etc) of the moduledata object that the runtime belongs to. Change to check all of them. Change-Id: I544a44c5de7445fff87d3cdb4840ff04c5e2bf75 Reviewed-on: https://go-review.googlesource.com/9773 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
d0a05f51f9
commit
fa896733b5
2 changed files with 18 additions and 12 deletions
|
|
@ -51,7 +51,7 @@ func schedinit() {
|
|||
framepointer_enabled = haveexperiment("framepointer")
|
||||
|
||||
tracebackinit()
|
||||
symtabverify()
|
||||
moduledataverify()
|
||||
stackinit()
|
||||
mallocinit()
|
||||
mcommoninit(_g_.m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue