mirror of
https://github.com/golang/go
synced 2024-09-23 21:20:13 -06:00
liblink: do not print pointers in debug output
Pointers change from run to run, making it hard to use the debug output to identify the reason for a changed object file. Change-Id: I0c954da0943092c48686afc99ecf75eba516de6a Reviewed-on: https://go-review.googlesource.com/3352 Reviewed-by: Aram Hăvărneanu <aram@mgk.ro> Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
a8049f58f9
commit
4aa63d49ac
@ -143,7 +143,7 @@ writeobj(Link *ctxt, Biobuf *b)
|
||||
for(pl = ctxt->plist; pl != nil; pl = pl->link) {
|
||||
for(p = pl->firstpc; p != nil; p = plink) {
|
||||
if(ctxt->debugasm && ctxt->debugvlog)
|
||||
print("obj: %p %P\n", p, p);
|
||||
print("obj: %P\n", p);
|
||||
plink = p->link;
|
||||
p->link = nil;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user