You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In order for GODEBUG=gcdead=1 to work, each bitmap needs
// to contain information about all variables covered by the bitmap.
// For local variables, the bitmap only covers the stkptrsize
// bytes in the frame where variables containing pointers live.
// For arguments and results, the bitmap covers all variables,
// so we must include all the variables, even the ones without
// pointers.
And later:
// Ambiguously live variables are zeroed immediately after
// function entry. Mark them live for all the non-entry bitmaps
// so that GODEBUG=gcdead=1 mode does not poison them.
But gcdead no longer exists. Do we still need these full and marked live bitmaps? If we do, let's update or remove those comments.
See also gcdead-related tests and comments in test/live{,_ssa}.go.
In plive.go, we find this comment:
And later:
But gcdead no longer exists. Do we still need these full and marked live bitmaps? If we do, let's update or remove those comments.
See also gcdead-related tests and comments in test/live{,_ssa}.go.
cc @aclements
The text was updated successfully, but these errors were encountered: