gvisor/tools/go_stateify
Rahat Mahmood acb4c62885 Skip checklocks analysis for stateify generated code.
Stateify methods are always called without holding the appropriate
locks. The system is paused and we know there will be no mutations
when we call Save/Load, so this is perfectly safe. However, checklocks
can't know about this, and it will always complain.

Mark stateify generated methods that touch struct fields as
"checklocksignore" to avoid this.

PiperOrigin-RevId: 364610241
2021-03-23 11:56:59 -07:00
..
BUILD Add bzl_library rules for .bzl files without one. 2020-08-06 12:10:49 -07:00
defs.bzl Stateify: register types with full package names 2020-02-11 11:41:55 -08:00
main.go Skip checklocks analysis for stateify generated code. 2021-03-23 11:56:59 -07:00