1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:14:42 -07:00

8l: suppress emitting DWARF in Windows PE.

Fixes #1064.

R=rsc, lvd, vcc
CC=golang-dev
https://golang.org/cl/2104042
This commit is contained in:
Alex Brainman 2010-09-02 17:00:24 +10:00
parent 1331084c3d
commit b05679cdd6

View File

@ -651,7 +651,7 @@ asmb(void)
lputl(symsize);
lputl(lcsize);
cflush();
if(!debug['s']) {
if(HEADTYPE != 10 && !debug['s']) {
seek(cout, symo+8+symsize+lcsize, 0);
if(debug['v'])
Bprint(&bso, "%5.2f dwarf\n", cputime());