diff options
| author | Russ Cox <rsc@golang.org> | 2015-01-27 14:53:14 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-01-28 01:51:33 +0000 |
| commit | 4aa63d49acfe93e26891fcf91a24358e60f8bf0d (patch) | |
| tree | 8058ea46f86877739d72916e237f4d2d4c67a576 /src/liblink/objfile.c | |
| parent | a8049f58f9e3336554da1b0a4f8ea3b9c5cd669c (diff) | |
| download | go-4aa63d49acfe93e26891fcf91a24358e60f8bf0d.tar.xz | |
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>
Diffstat (limited to 'src/liblink/objfile.c')
| -rw-r--r-- | src/liblink/objfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblink/objfile.c b/src/liblink/objfile.c index aa701f459e..f29ebbc517 100644 --- a/src/liblink/objfile.c +++ b/src/liblink/objfile.c @@ -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; |
