1
0
mirror of https://github.com/golang/go synced 2024-10-03 07:21:21 -06:00
go/src/cmd
Rémy Oudompheng 8fff2525cb cmd/gc: add space to export data to match linker expectations
The linker split PKGDEF into (prefix, name, def) pairs,
and defines def to begin after a space following the identifier.
This is totally wrong for the following export data:

        func "".FunctionName()
        var SomethingCompletelyUnrelated int

The linker would parse
    name=`"".FunctionName()\n\tvar`
    def=`SomethingCompletelyUnrelated int`
since there is no space after FunctionName.

R=minux.ma, rsc
CC=golang-dev
https://golang.org/cl/7068051
2013-01-09 22:02:53 +01:00
..
5a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
5c cmd/5l, cmd/6l, cmd/8l, cmd/cc, cmd/gc: new flag parsing 2013-01-06 15:24:47 -05:00
5g cmd/5g, cmd/6g, cmd/8g: flush return parameters in case of panic. 2013-01-04 17:07:21 +01:00
5l cmd/gc, cmd/ld: rename -b to -race 2013-01-06 22:47:39 -05:00
6a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
6c cmd/6c, cmd/8c: add fixjmp step to regopt. 2012-12-06 07:20:03 +01:00
6g cmd/5g, cmd/6g, cmd/8g: flush return parameters in case of panic. 2013-01-04 17:07:21 +01:00
6l cmd/gc, cmd/ld: rename -b to -race 2013-01-06 22:47:39 -05:00
8a cmd/8a: support XMM registers. 2012-12-06 07:27:38 +01:00
8c cmd/6c, cmd/8c: add fixjmp step to regopt. 2012-12-06 07:20:03 +01:00
8g cmd/5g, cmd/6g, cmd/8g: flush return parameters in case of panic. 2013-01-04 17:07:21 +01:00
8l cmd/gc, cmd/ld: rename -b to -race 2013-01-06 22:47:39 -05:00
addr2line runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
api cmd/api: speed up API check by 2x, caching parser.ParseFile calls 2012-11-19 13:50:20 -08:00
cc cmd/5l, cmd/6l, cmd/8l, cmd/cc, cmd/gc: new flag parsing 2013-01-06 15:24:47 -05:00
cgo cmd/cgo: access errno from void C function 2012-12-18 00:26:08 +08:00
cov libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
dist cmd/dist: drop unneeded clang flags 2013-01-10 08:00:03 +11:00
fix cmd/fix: Add keys to printer.Config composite literals. 2012-12-16 19:31:59 -05:00
gc cmd/gc: add space to export data to match linker expectations 2013-01-09 22:02:53 +01:00
go cmd/go: use filepath.SplitList when inspecting GOPATH 2013-01-08 10:00:21 +11:00
godoc cmd/godoc: ignore misnamed examples and print a warning 2013-01-02 16:00:41 +11:00
gofmt cmd/gofmt, bufio, image: Consistency and error handling. 2013-01-07 11:15:53 +11:00
ld cmd/gc, cmd/ld: rename -b to -race 2013-01-06 22:47:39 -05:00
nm gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
objdump runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pack cmd/pack: rename __.SYMDEF to __.GOSYMDEF 2012-09-13 10:26:21 -04:00
prof libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
vet cmd/vet: fix doc typo. 2013-01-08 15:22:18 +11:00
yacc cmd/yacc: fix debug print of token name 2012-12-22 16:45:35 -05:00