1
0
mirror of https://github.com/golang/go synced 2024-11-26 08:58:09 -07:00
go/test
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
..
bench
bugs cmd/gc: fix wrong interaction between inlining and embedded builtins. 2012-12-22 19:16:31 +01:00
chan
ddd2.dir
dwarf
fixedbugs cmd/gc: add space to export data to match linker expectations 2013-01-09 22:02:53 +01:00
import2.dir
import4.dir
interface
ken
method4.dir
safe
syntax
64bit.go
235.go
alias1.go
alias.go
append.go
args.go
assign1.go
assign.go
bigalg.go
bigmap.go
blank1.go
blank.go
bom.go
bombad.go
bounds.go
chancap.go
char_lit1.go
char_lit.go
closedchan.go
closure.go
cmp6.go
cmp.go
cmplx.go
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go
complit1.go
complit.go
compos.go
const1.go
const2.go
const3.go
const4.go
const5.go
const.go
convert1.go
convert3.go
convert.go
convlit1.go
convlit.go
convT2X.go
copy.go
crlf.go
ddd1.go
ddd2.go
ddd.go
decl.go
declbad.go
defer.go
deferprint.go
deferprint.out
divide.go
empty.go
env.go
eof1.go
eof.go
errchk
escape2.go cmd/gc: remove an incorrect assertion in escape analysis. 2012-12-20 23:27:28 +01:00
escape3.go
escape4.go
escape5.go
escape.go
float_lit.go
floatcmp.go
for.go
func1.go
func2.go
func3.go
func4.go
func5.go
func6.go
func7.go
func8.go
func.go
gc1.go
gc2.go
gc.go
golden.out cmd/gc: do not generate code for var _ = ... unless necessary 2012-12-30 12:01:53 -05:00
goprint.go
goprint.out
goto.go
helloworld.go
helloworld.out
if.go
import1.go
import2.go
import4.go
import5.go
import.go
index0.go
index1.go
index2.go
index.go
indirect1.go
indirect.go
init1.go
init.go
initcomma.go
initialize.go
initializerr.go test: add "duplicate" struct map key test 2012-12-17 11:05:58 -05:00
int_lit.go
intcvt.go
iota.go
label1.go
label.go
linkx.go
literal.go
mallocfin.go
map1.go
map.go
method1.go
method2.go
method3.go
method4.go
method.go
named1.go
named.go
nil.go test: move map delete test to nil.go 2012-12-13 12:11:24 -08:00
nilptr.go
nul1.go
parentype.go
peano.go
printbig.go
printbig.out
range.go
recover1.go
recover2.go
recover3.go
recover.go
rename1.go
rename.go
reorder2.go
reorder.go
rotate.go
run
run.go test/run: handle compiledir and errorcheckdir with multi-file packages 2013-01-02 15:31:49 -05:00
rune.go
runtime.go
shift1.go
shift2.go
sieve.go
sigchld.go
sigchld.out
simassign.go
sinit.go cmd/gc: do not generate code for var _ = ... unless necessary 2012-12-30 12:01:53 -05:00
sizeof.go
solitaire.go
stack.go
string_lit.go
stringrange.go
struct0.go
switch3.go
switch.go
testlib test/run: handle compiledir and errorcheckdir with multi-file packages 2013-01-02 15:31:49 -05:00
torture.go cmd/8g: introduce temporaries in byte multiplication. 2012-12-21 23:46:16 +01:00
turing.go
typecheck.go
typeswitch1.go
typeswitch2.go
typeswitch3.go
typeswitch.go
undef.go
utf.go
varerr.go
varinit.go
zerodivide.go