]> Cypherpunks repositories - gostls13.git/commitdiff
ld: be less picky about bad line number info
authorRuss Cox <rsc@golang.org>
Mon, 11 Oct 2010 20:21:03 +0000 (16:21 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 11 Oct 2010 20:21:03 +0000 (16:21 -0400)
Fixes #1175.

R=lvd
CC=golang-dev
https://golang.org/cl/2439041

src/cmd/ld/dwarf.c

index 500c2fea80b2791a864e15b731780b66f74bfe38..7189a14d0769d268a71db97a6f3f2d581aa57ff7 100644 (file)
@@ -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;
                        }