- 18 Jul, 2013 15 commits
-
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/11397043
-
Daniel Morsing authored
Syntax description was moved to the top level comment of this package. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11536043
-
Russ Cox authored
Deferreturn is synthesizing a new call frame. It must not be interrupted between copying the args there and fixing up the program counter, or else the stack will be in an inconsistent state, one that will confuse the garbage collector. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11522043
-
Russ Cox authored
With preemption, _sfloat2 can show up in stack traces. Write the function prototype in a way that accurately shows the frame size and the fact that it might contain pointers. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11523043
-
Russ Cox authored
Windows was the only one seeing this bug reliably in the builder, but it was easy to reproduce using 'GOGC=1 go test strconv'. concatstring looked like it took only one string, but in fact it takes a long list of strings. Add an explicit ... so that the traceback will not use the "fixed" frame size and instead look at the frame size metadata recorded by the caller. R=golang-dev TBR=golang-dev CC=golang-dev https://golang.org/cl/11531043
-
Russ Cox authored
This should fix the Windows build, or at least what's breaking it at the moment. Fixes #5904. TBR=golang-dev CC=golang-dev https://golang.org/cl/11519044
-
Russ Cox authored
Would fix build if build hadn't already been broken with something else. TBR=golang-dev CC=golang-dev https://golang.org/cl/11525043
-
Russ Cox authored
R=golang-dev, r, dave CC=golang-dev https://golang.org/cl/11494043
-
Russ Cox authored
The change to addr2line makes it easy to test by hand. R=golang-dev, r CC=golang-dev https://golang.org/cl/11485044
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/11495043
-
Brad Fitzpatrick authored
Be consistent with os.File, strings.Reader, bytes.Reader, etc, which all allow seeks past the end. R=golang-dev, r CC=golang-dev https://golang.org/cl/11403043
-
Andrew Bonventre authored
R=r, nigeltao CC=golang-dev https://golang.org/cl/11446043
-
Ian Lance Taylor authored
Update #5905 Don't emit #pragma cgo_ldflag and cgo_import_static declarations that gccgo doesn't understand and can't use. R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/11490043
-
Dave Cheney authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/11436043
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds, rogpeppe CC=golang-dev https://golang.org/cl/11432044
-
- 17 Jul, 2013 8 commits
-
-
Ian Lance Taylor authored
Otherwise the tests in pkg/runtime fail: runtime: unknown argument frame size for runtime.deferreturn called from 0x48657b [runtime_test.func·022] fatal error: invalid stack ... R=golang-dev, dave CC=golang-dev https://golang.org/cl/11483043
-
Dominik Honnef authored
This will behave like similar "*-other-window" functions in Emacs. Default key bind is C-x 4 C-c C-j – while awkward, it follows both the convention for other-window functions and the convention for not using user- or emacs-reserved keys. R=golang-dev, adonovan CC=golang-dev https://golang.org/cl/10707045
-
Russ Cox authored
Update #543 I believe the runtime is strong enough now to reenable preemption during the function prologue. Assuming this is or can be made stable, it will be in Go 1.2. More aggressive preemption is not planned for Go 1.2. R=golang-dev, iant CC=golang-dev https://golang.org/cl/11433045
-
Dmitriy Vyukov authored
Currently preemption signal g->stackguard0==StackPreempt can be lost if it is received when preemption is disabled (e.g. m->lock!=0). This change duplicates the preemption signal in g->preempt and restores g->stackguard0 when preemption is enabled. Update #543. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/10792043
-
Russ Cox authored
With this CL, I believe the runtime always knows the frame size during the gc walk. There is no fallback to "assume entire stack frame of caller" anymore. R=golang-dev, khr, cshapiro, dvyukov CC=golang-dev https://golang.org/cl/11374044
-
Joel Sing authored
Add support for ECDHE-ECDSA (RFC4492), which uses an ephemeral server key pair to perform ECDH with ECDSA signatures. Like ECDHE-RSA, ECDHE-ECDSA also provides PFS. R=agl CC=golang-dev https://golang.org/cl/7006047
-
Daniel Morsing authored
clearfat (used to zero initialize structures) will use AX for x86 block ops. If we write to AX while calculating the dest pointer, we will fill the structure with incorrect values. Since 64-bit arithmetic uses AX to synthesize a 64-bit register, getting an adress by indexing with 64-bit ops can clobber the register. Fixes #5820. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11383043
-
Dave Cheney authored
Replaced with something more appropriate. R=adg, r, minux.ma CC=golang-dev https://golang.org/cl/11421043
-
- 16 Jul, 2013 17 commits
-
-
Keith Randall authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11385045
-
Adam Langley authored
(PSS support is complete.) Thanks to Frithjof Schulze for noting this. R=golang-dev, r CC=golang-dev https://golang.org/cl/10871046
-
Ian Lance Taylor authored
R=golang-dev, remyoudompheng CC=golang-dev https://golang.org/cl/11379044
-
Adam Langley authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11386043
-
Russ Cox authored
If calling a function in package runtime, emit argument size information around the call in case the call is to a variadic C function. R=ken2 CC=golang-dev https://golang.org/cl/11371043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/11364043
-
Russ Cox authored
I have not done the system call stubs in sys_*.s. I hope to avoid that, because those do not block, so those frames will not appear in stack traces during garbage collection. R=golang-dev, dvyukov, khr CC=golang-dev https://golang.org/cl/11360043
-
Russ Cox authored
While we're here, fix Syscall9 on NetBSD and OpenBSD: it was storing the results into the wrong memory locations. I guess no one uses that function's results on those systems. Part of cleaning up stack traces and argument frame information. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/11355044
-
Russ Cox authored
In cmd/5a, also add support for argument size in TEXT instruction. R=ken2 CC=golang-dev https://golang.org/cl/11357044
-
Russ Cox authored
The portable code in cmd/ld already knows how to process it, we just have to ignore it during code generation. R=ken2 CC=golang-dev https://golang.org/cl/11363043
-
Alan Donovan authored
R=gri CC=golang-dev https://golang.org/cl/11359043
-
Dmitriy Vyukov authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/11357043
-
Joel Sing authored
s/TCP_KEEPALIVE/SO_KEEPALIVE/ to unbreak build on OpenBSD. R=golang-dev, iant CC=golang-dev https://golang.org/cl/11345044
-
Russ Cox authored
Design at http://golang.org/s/go12symtab. This enables some cleanup of the garbage collector metadata that will be done in future CLs. This CL does not move the old symtab and pclntab back into an unmapped section of the file. That's a bit tricky and will be done separately. Fixes #4020. R=golang-dev, dave, cshapiro, iant, r CC=golang-dev, nigeltao https://golang.org/cl/11085043
-
Dmitriy Vyukov authored
Race instrumentation can allocate, switch stacks, preempt, etc. All that is not allowed in between fork and exec. Fixes #4840. R=golang-dev, daniel.morsing, dave CC=golang-dev https://golang.org/cl/11324044
-
Daniel Morsing authored
Fixes #5358. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11282044
-
Evan Shaw authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/11334043
-