- 27 Mar, 2013 5 commits
-
-
Brad Fitzpatrick authored
And make it have more useful output on failure. Update #5005 R=golang-dev, r CC=golang-dev https://golang.org/cl/8016046
-
Anthony Martin authored
Since fp->symsz includes the size of the header in the new symbol table format, we were reading past the end and decoding a few garbage symbols from data in the pc/line table. R=rsc, r CC=golang-dev https://golang.org/cl/7993043
-
Brad Fitzpatrick authored
Seems to have been omitted before. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7749049
-
Robert Griesemer authored
- convert all formatters that require a *token.FileSet to consistenly use a *PageInfo as first argument instead - adjust templates correspondingly - fix outstanding bug from previous CL 8005044 Going forward, with this change the affected functions have access to the full page "context" (PageInfo), not just the respective file set. This will permit better context-dependent formatting in the future. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7860049
-
Rob Pike authored
The gofmt function was returning a string, which isn't the right type. Three cheers for dynamic typing. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7917044
-
- 26 Mar, 2013 21 commits
-
-
Rémy Oudompheng authored
A HMUL node appears in some constant divisions, but to observe a false negative in race detector the divisor must be suitably chosen to make sure the only memory access is done for HMUL. R=dvyukov CC=golang-dev https://golang.org/cl/7935045
-
Dave Cheney authored
Always use /home/you for $HOME in examples. Trivial enough that someone else can integrate this change if they are editing go1.1.html R=r CC=golang-dev https://golang.org/cl/8025043
-
Ian Lance Taylor authored
For Go 1.1, stop checking the rlimit, because it broke now that mheap is allocated using SysAlloc. See issue 5049. R=r CC=golang-dev https://golang.org/cl/7741050
-
Robert Griesemer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8005044
-
Russ Cox authored
ArrayOf will remain unexported (and therefore unused) for Go 1.1. Fixes #4375. R=0xe2.0x9a.0x9b, r, iant CC=golang-dev https://golang.org/cl/7716048
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7835049
-
Carl Shapiro authored
The arm gentraceback mishandled frame linkage values pointing to the assembly return function. This function is special as its frame size is zero and it contains only one instruction. These conditions would preserve the frame pointer and result in an off by one error when unwinding the caller. Fixes #5124 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8023043
-
Robert Griesemer authored
The changes are almost completely self-contained in the new file linkify.go. The other changes are minimal and should not disturb the currently working godoc, in anticipation of Go 1.1. To disable the feature in case of problems, set -links=false. Fixes #2063. R=adg, r CC=golang-dev https://golang.org/cl/7883044
-
Rob Pike authored
Aids godoc. R=golang-dev, gri, bradfitz CC=golang-dev https://golang.org/cl/7992044
-
Rob Pike authored
Mild adaptation of rsc's 8021043, which I was unable to clpatch. (rsc is offline) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7741049
-
Andrew Gerrand authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7725049
-
Dmitriy Vyukov authored
Prevents storm of error messages if something goes wrong. In the case of issue 5073 the epoll fd was closed by the test. Update #5073. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/7966043
-
Mikio Hara authored
This CL avoids test data sharing in repetitive test runs; e.g., go test net -cpu=1,1,1 R=golang-dev, fullung, bradfitz CC=golang-dev https://golang.org/cl/8011043
-
Rémy Oudompheng authored
Handle interface comparison correctly, add a few more tests, mark more nodes as impossible. R=dvyukov, golang-dev CC=golang-dev https://golang.org/cl/7942045
-
Rémy Oudompheng authored
Fixes #5119. R=golang-dev, dvyukov, dave, rsc CC=golang-dev https://golang.org/cl/7838050
-
Yasuhiro Matsumoto authored
R=dsymonds CC=golang-dev https://golang.org/cl/7757043
-
Dave Cheney authored
Fixes issue with go test -cpu=1,1 R=minux.ma, bradfitz, nigeltao CC=golang-dev https://golang.org/cl/7808045
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7475048
-
Julien Schmidt authored
Make the copy directly in the convert switch instead of an extra loop. Also stops converting nil-[]byte to zero-[]byte when assigning to *interface R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7962044
-
Rob Pike authored
R=golang-dev, adg, bradfitz CC=golang-dev https://golang.org/cl/7696045
-
Brad Fitzpatrick authored
Fixes #5127 R=golang-dev, adg CC=golang-dev https://golang.org/cl/8011044
-
- 25 Mar, 2013 14 commits
-
-
Brad Fitzpatrick authored
Fixes #5046 R=golang-dev, r CC=golang-dev https://golang.org/cl/8016044
-
Adam Langley authored
At some point in the past, I believe the GCD algorithm was setting d to be negative. The RSA code has been correcting that ever since but, now, it appears to have changed and the correction isn't needed. Having d be too large is harmless, it's just a little odd and I happened to notice. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7948044
-
Ian Lance Taylor authored
Fixes SWIG callbacks. Previously crosscall2 was only cgo_export_static, despite the use of two #pragma declarations in runtime/cgo/callbacks.c. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/7817048
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7812050
-
Russ Cox authored
This keeps the logic about how to set the thread-local variables m and g in code compiled and linked by the gc toolchain, an important property for upcoming cgo changes. It's also just a nice cleanup: one less place to update when these details change. R=golang-dev, r CC=golang-dev https://golang.org/cl/7560048
-
Russ Cox authored
This functionality moved into cmd/dist for Go 1.0. Changes to this script have no effect. R=golang-dev, r CC=golang-dev https://golang.org/cl/8020043
-
Rémy Oudompheng authored
The right operand of a && and || is only executed conditionnally, so the instrumentation must be more careful. In particular it should not turn nodes assumed to be cheap after walk into expensive ones. Update #4228 R=dvyukov, golang-dev CC=golang-dev https://golang.org/cl/7986043
-
Carl Shapiro authored
The ARM implementation of runtime.cgocallback_gofunc diverged from the calling convention by leaving a word of garbage at the top of the stack and storing the return PC above the locals. This change stores the return PC at the top of the stack and removes the save area above the locals. Update #5124 This CL fixes first part of the ARM issues and added the unwind test. R=golang-dev, bradfitz, minux.ma, cshapiro, rsc CC=golang-dev https://golang.org/cl/7728045
-
Rémy Oudompheng authored
Fixes #5105. R=golang-dev, dave, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/7965043
-
Russ Cox authored
The edit makes Hypot's description match the form used in the other routines in this package. R=golang-dev, iant CC=golang-dev https://golang.org/cl/8003046
-
Jan Ziak authored
Adds the new debugging constant 'checkgc'. If its value is non-zero all calls to mallocgc() from hashmap.c will start a garbage collection. Fixes #5074. R=golang-dev, khr CC=golang-dev, rsc https://golang.org/cl/7663051
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7725048
-
Dmitriy Vyukov authored
Fixes performance of the current windows network poller with the new scheduler. Gives runtime a hint when GetQueuedCompletionStatus() will block. Fixes #5068. benchmark old ns/op new ns/op delta BenchmarkTCP4Persistent 4004000 33906 -99.15% BenchmarkTCP4Persistent-2 21790 17513 -19.63% BenchmarkTCP4Persistent-4 44760 34270 -23.44% BenchmarkTCP4Persistent-6 45280 43000 -5.04% R=golang-dev, alex.brainman, coocood, rsc CC=golang-dev https://golang.org/cl/7612045
-
Dominik Honnef authored
R=golang-dev, bradfitz CC=adonovan, cw, golang-dev, patrick.allen.higgins https://golang.org/cl/7956044
-