1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:36:49 -07:00

cmd/dist: generate offsets for P structure

So far no checked-in assembly needs these,
but it matches having them for M and G.
I needed these for some manual testing.

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/11595043
This commit is contained in:
Russ Cox 2013-07-19 15:40:32 -04:00
parent c38173bcbd
commit 5d340de1f6

View File

@ -248,6 +248,8 @@ ok:
aggr = "g"; aggr = "g";
else if(streq(fields.p[1], "M")) else if(streq(fields.p[1], "M"))
aggr = "m"; aggr = "m";
else if(streq(fields.p[1], "P"))
aggr = "p";
else if(streq(fields.p[1], "Gobuf")) else if(streq(fields.p[1], "Gobuf"))
aggr = "gobuf"; aggr = "gobuf";
else if(streq(fields.p[1], "WinCall")) else if(streq(fields.p[1], "WinCall"))