aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-10-11 16:21:03 -0400
committerRuss Cox <rsc@golang.org>2010-10-11 16:21:03 -0400
commit054be1b6c34c2d142c9b0fbe1d7e62d08dd615e5 (patch)
treea4200a14f8984fa8b2f095caf4da3027ae9049c4
parent570f59c1090b8c2f67f1f0426fd8decd650bd2f6 (diff)
downloadgo-054be1b6c34c2d142c9b0fbe1d7e62d08dd615e5.tar.gz
go-054be1b6c34c2d142c9b0fbe1d7e62d08dd615e5.zip
ld: be less picky about bad line number info
Fixes #1175. R=lvd CC=golang-dev https://golang.org/cl/2439041
-rw-r--r--src/cmd/ld/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ld/dwarf.c b/src/cmd/ld/dwarf.c
index 500c2fea80..7189a14d07 100644
--- a/src/cmd/ld/dwarf.c
+++ b/src/cmd/ld/dwarf.c
@@ -763,7 +763,7 @@ writelines(void)
continue;
}
if (lh->file < 1) { // 0 is the past-EOF entry.
- diag("instruction with linenumber past EOF in %s: %P", unitname, q);
+ //diag("instruction with linenumber past EOF in %s: %P", unitname, q);
continue;
}