]> Cypherpunks repositories - gostls13.git/commit
runtime: poison pcln.frame value
authorRuss Cox <rsc@golang.org>
Wed, 4 Mar 2015 21:50:59 +0000 (16:50 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 5 Mar 2015 04:14:00 +0000 (04:14 +0000)
commita0ac493852e22408114d530105ffe89dc7dba98b
treef75ef916f2880ad0dda16ea1fd87c9973dbec9b3
parent0bf79b2de8bf75093629b1861a49efca1dbc0356
runtime: poison pcln.frame value

Nothing uses it, nothing should start using it.
Stop leaving plausible-looking values there.
It would be nice to remove entirely, but that would
require a new version number for the object file format,
in order not to break external readers like debug/gosym.
It's easier to leave and poison.

I came across an old mail thread suggesting we start using it
to speed up tracebacks. I want to make sure that doesn't happen.

(The values there were never quite right, and the number is
fundamentally PC-specific anyway.)

Change-Id: Iaf38e8a6b523cbae30b69c28497c4588ef397519
Reviewed-on: https://go-review.googlesource.com/6890
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/internal/ld/pcln.go