- 10 Oct, 2012 11 commits
-
-
Dmitriy Vyukov authored
If source are not available, then the stack looks like: stack_test.go:40: /tmp/gobuilder/linux-amd64-race-72b15c5d6f65/go/src/pkg/runtime/debug/bla-bla-bla/src/pkg/runtime/debug/stack_test.go:15 (0x43fb11) stack_test.go:40: /tmp/gobuilder/linux-amd64-race-72b15c5d6f65/go/src/pkg/runtime/debug/bla-bla-bla/src/pkg/runtime/debug/stack_test.go:18 (0x43fb7a) stack_test.go:40: /tmp/gobuilder/linux-amd64-race-72b15c5d6f65/go/src/pkg/runtime/debug/bla-bla-bla/src/pkg/runtime/debug/stack_test.go:37 (0x43fbf4) stack_test.go:40: /tmp/gobuilder/linux-amd64-race-72b15c5d6f65/go/src/pkg/testing/bla-bla-bla/src/pkg/testing/testing.go:301 (0x43b5ba) stack_test.go:40: /tmp/gobuilder/linux-amd64-race-72b15c5d6f65/go/src/pkg/runtime/bla-bla-bla/src/pkg/runtime/proc.c:276 (0x410670) stack_test.go:40: which is 6 lines. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6637060
-
Uriel Mangado authored
In recent Python versions .reason is a read-only property that simply gives you the msg value. Fixes #4024 R=golang-dev, adg CC=golang-dev https://golang.org/cl/6545052
-
Dmitriy Vyukov authored
The compiler is crashing on the following code: type TypeID int func (t *TypeID) encodeType(x int) (tt TypeID, err error) { switch x { case 0: return t.encodeType(x * x) } return 0, nil } The pass marks "return struct" {tt TypeID, err error} as used, and this causes internal check failure. I've added the test to: https://golang.org/cl/6525052/diff/7020/src/pkg/runtime/race/regression_test.go R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6611049
-
Dmitriy Vyukov authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6632051
-
Rob Pike authored
It's already there but only in the "for instance" and so not clear enough: deferred functions run after the result parameters are updated. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6631058
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6631059
-
Andrew Gerrand authored
R=golang-dev, edsrzf CC=golang-dev https://golang.org/cl/6633051
-
Andrew Gerrand authored
R=gri, dsymonds, skybrian CC=golang-dev https://golang.org/cl/6631057
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6633050
-
Robert Griesemer authored
Also: - Refactored testing framework to permit easier idempotency testing. - Applied gofmt -w src misc This CL depends on CL 6639044 being applied first. Formatting is not idempotent for all files: In those files the comment position has changed (due to missing precise location information) and/or the comment formatting cannot/is not aware of independent code re-formatting. In general it is very hard to make format idempotent when running it in one pass only. Leaving that aside for now. Fixes #1835. R=r, rsc CC=golang-dev https://golang.org/cl/6624051
-
Robert Griesemer authored
Preparation for forthcoming CL 6624051: Will make it easier to see if/what changes are incurred by it. The alignment changes in this CL are due to CL 6610051 (fix to alignment heuristic) where it appears that an old version of gofmt was run (and thus the correct alignment updates were not done). R=r CC=golang-dev https://golang.org/cl/6639044
-
- 09 Oct, 2012 15 commits
-
-
Ian Lance Taylor authored
Background on build ID: http://fedoraproject.org/wiki/RolandMcGrath/BuildID R=rsc CC=golang-dev https://golang.org/cl/6625072
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6632053
-
Shenghou Ma authored
R=golang-dev CC=golang-dev https://golang.org/cl/6631054
-
Adam Langley authored
I typoed the code and tried to parse all the way to the end of the message. Therefore it fails when NPN is not the last extension in the ServerHello. Fixes #4088. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6637052
-
Dmitriy Vyukov authored
Fixes #4212. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6641050
-
Shenghou Ma authored
1. correctly initialize .plt.got entries (point to the 1st entry) 2. add section .rel.plt (FreeBSD insists PLT relocs to be there) 3. put relocs of .got.plt into .rel.plt 4. set ELFOSABI_FREEBSD in ELF header R=rsc CC=golang-dev https://golang.org/cl/6643050
-
Shenghou Ma authored
Also corrected cmd/8l's .dynsym handling (differentiate between exported symbols and imported symbols) Fixes #4029. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6620075
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 The purpose of this patch is to provide coarse-grained synchronization between all Read() and Write() calls. R=rsc, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/6610064
-
Russ Cox authored
Check for specific, important misalignment in garbage collector. Not a complete fix for issue 599 but an important workaround. Update #599. R=golang-dev, iant, dvyukov CC=golang-dev https://golang.org/cl/6641049
-
Dmitriy Vyukov authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6642045
-
Dmitriy Vyukov authored
Otherwise if I add '+build !race' to e.g. src/cmd/fix/reflect_test.go, it does not work. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6642044
-
Dmitriy Vyukov authored
See http://code.google.com/p/go/issues/detail?id=4214 R=golang-dev, r CC=golang-dev https://golang.org/cl/6619068
-
Rob Pike authored
Fixes #4214. R=golang-dev, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/6637047
-
Robin Eklind authored
debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is equal to 0 in the IMAGE_FILE_HEADER structure). No longer assume that e_lfanew (in the IMAGE_DOS_HEADER strcuture) is always one byte. It is now regarded as a 4 byte uint32. Fixes #4177. R=golang-dev, alex.brainman, dave, minux.ma CC=golang-dev https://golang.org/cl/6587048
-
Robert Griesemer authored
R=alex.brainman, r CC=golang-dev https://golang.org/cl/6643045
-
- 08 Oct, 2012 13 commits
-
-
Andrew Gerrand authored
Updates setup-godoc-app.bash to produce a working godoc app by substituting the go1.0.x go/... packages with those from tip. R=gri CC=golang-dev https://golang.org/cl/6587080
-
David Symonds authored
Fixes #3902. R=golang-dev, minux.ma, rsc, r CC=golang-dev https://golang.org/cl/6611059
-
David Symonds authored
Fixes #4136. R=golang-dev, r CC=golang-dev https://golang.org/cl/6615061
-
David Symonds authored
Fixes #4175. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6610068
-
Daniel Morsing authored
testlib will complain about any unmatched errors left in errorchecks while run.go will not. Fixes #4141. R=golang-dev, minux.ma, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6614060
-
David Symonds authored
Mercurial has supported environment variables in hgrc files since version 1.4 (released November 2009). R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/6619067
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/6612066
-
Robert Griesemer authored
- Changed Check signature to take function parameters for more flexibility: Now a client can interrupt type checking early (via panic in one the upcalls) once the desired type information or number of errors is reached. Default use is still simple. - Cleaned up main typechecking loops. Now does not neglect _ declarations anymore. - Various other cleanups. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/6612049
-
Robert Griesemer authored
Still lots of pieces missing, but basic framework working. Lots of tests. R=rsc CC=golang-dev https://golang.org/cl/6594054
-
Robert Griesemer authored
This code has been reviewed before. The most significant change is to check_test which now can handle more than one error at the same error position (due to spurious errors - should not happen in praxis once error handling has been fine-tuned). This change makes check_test easier to use during development. R=rsc CC=golang-dev https://golang.org/cl/6584057
-
Robert Griesemer authored
Also: apply gofmt -w -s to existing tables. R=mpvl, minux.ma, rsc CC=golang-dev https://golang.org/cl/6611051
-
Robert Griesemer authored
Bug introduced with CL 6624047. R=r CC=golang-dev https://golang.org/cl/6620073
-
Brad Fitzpatrick authored
No JavaScript in HTML anymore. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6619066
-
- 07 Oct, 2012 1 commit
-
-
Andrew Gerrand authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/6614064
-