- 11 Nov, 2011 1 commit
-
-
Russ Cox authored
Godefs was a C program that ran gcc and then parsed the stabs debugging information in the resulting object file to generate C or Go code for bootstrapping as part of package runtime or package syscall. Cgo does the same work, but using the dwarf debugging information. Add -godefs and -cdefs options to cgo that mimic godefs's output, albeit with different input (a Go program, not a C program). This has been a "nice to have" for a while but was forced by Apple removing stabs debugging output from their latest compilers. Fixes #835. Fixes #2338. R=golang-dev, bradfitz, r, dave, iant CC=golang-dev https://golang.org/cl/5367043
-
- 10 Nov, 2011 8 commits
-
-
Rob Pike authored
R=golang-dev, adg, gri CC=golang-dev https://golang.org/cl/5370058
-
Volker Dobler authored
As the ISO 8601 week number is untrivial to compute a new method on *Time provides year and number of week. R=golang-dev, rsc, r, r CC=golang-dev https://golang.org/cl/5316074
-
Rob Pike authored
A single-line error looks like this: --- FAIL: foo_test.TestFoo (0.00 seconds) foo_test.go:123: Foo(8) = "10" want "100" A multi-line error looks like this: --- FAIL: foo_test.TestFoo (0.00 seconds) foo_test.go:456: Foo(88) = "100" want "1000" R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5376057
-
Joel Sing authored
The timespec passed to thrsleep() needs to be an absolute/realtime value, so add the current nanotime to ns. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5374048
-
David G. Andersen authored
z is set to x+bit change, not z+bit change R=golang-dev CC=golang-dev https://golang.org/cl/5374056
-
Andrew Balholm authored
Pass tests1.dat, test 106: <frameset><frame><frameset><frame></frameset><noframes></noframes></frameset> | <html> | <head> | <frameset> | <frame> | <frameset> | <frame> | <noframes> Also pass test 107: <h1><table><td><h3></table><h3></h1> R=nigeltao CC=golang-dev https://golang.org/cl/5373050
-
Mikio Hara authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5370050
-
Rob Pike authored
Fixes #2416. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5370049
-
- 09 Nov, 2011 31 commits
-
-
Joe Poirier authored
Requesting suggestions for the comment and description strings in installer.wxs. Fixes #2394. R=rsc, alex.brainman, tjyang2001 CC=golang-dev https://golang.org/cl/5339046
-
Rob Pike authored
R=golang-dev, r, agl, dsymonds CC=golang-dev https://golang.org/cl/5374046
-
Rob Pike authored
R=gri, rsc, r CC=golang-dev https://golang.org/cl/5372050
-
Scott Lawrence authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5372049
-
Rob Pike authored
R=gri, r, bradfitz, rsc CC=golang-dev https://golang.org/cl/5369052
-
Andrew Balholm authored
Pass tests1.dat, test 99: <script></script></div><title></title><p><p> | <html> | <head> | <script> | <title> | <body> | <p> | <p> Also pass tests through test 105: <ul><li><ul></li><li>a</li></ul></li></ul> R=nigeltao CC=golang-dev https://golang.org/cl/5373043
-
Rémy Oudompheng authored
Types are left as nil if no DWARF information is found and checking in the rewriting pass so that appropriate errors with line numbers can be printed. Fixes #2408. R=rsc CC=golang-dev, remy https://golang.org/cl/5336041
-
Michał Derkacz authored
Added handler for: MOVQ xmm_reg, xmm_reg/mem64 MOVQ xmm_reg/mem64, xmm_reg using native MOVQ (it take precedence above REX.W MOVD) I don't understood 6l code enough to be sure that my small changes didn't broke it. But now 6l works with MOVQ xmm_reg, xmm_reg and all.bash reports "0 unexpected bugs". There is test assembly source: MOVQ X0, X1 MOVQ AX, X1 MOVQ X1, AX MOVQ xxx+8(FP), X2 MOVQ X2, xxx+8(FP) and generated code (gdb disassemble /r): 0x000000000040f112 <+0>: f3 0f 7e c8 movq %xmm0,%xmm1 0x000000000040f116 <+4>: 66 48 0f 6e c8 movq %rax,%xmm1 0x000000000040f11b <+9>: 66 48 0f 7e c8 movq %xmm1,%rax 0x000000000040f120 <+14>: f3 0f 7e 54 24 10 movq 0x10(%rsp),%xmm2 0x000000000040f126 <+20>: 66 0f d6 54 24 10 movq %xmm2,0x10(%rsp) Fixes #2418. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5316076
-
Michał Derkacz authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5340056
-
Russ Cox authored
R=golang-dev CC=golang-dev https://golang.org/cl/5375046
-
Russ Cox authored
R=golang-dev CC=golang-dev https://golang.org/cl/5376045
-
Charles L. Dorian authored
Converting from polynomial constants to counted array speeds up Lgamma from 51.3 to 37.7 ns/op. Variables renamed in Gamma to avoid overlap in Lgamma. R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5359045
-
Russ Cox authored
This looks like it is just moving some code from time to runtime (and translating it to C), but the runtime can do a better job managing the goroutines, and it needs this functionality for its own maintenance (for example, for the garbage collector to hand back unused memory to the OS on a time delay). Might as well have just one copy of the timer logic, and runtime can't depend on time, so vice versa. It also unifies Sleep, NewTicker, and NewTimer behind one mechanism, so that there are no claims that one is more efficient than another. (For example, today people recommend using time.After instead of time.Sleep to avoid blocking an OS thread.) Fixes #1644. Fixes #1731. Fixes #2190. R=golang-dev, r, hectorchu, iant, iant, jsing, alex.brainman, dvyukov CC=golang-dev https://golang.org/cl/5334051
-
Dmitriy Vyukov authored
Fixes crash when cgo consumes more than 8K of stack and makes a callback. Fixes #1328. R=golang-dev, rogpeppe, rsc CC=golang-dev, mpimenov https://golang.org/cl/5371042
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5370046
-
Rob Pike authored
Fixes #2434. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5370045
-
Russ Cox authored
Fixes #2432. R=r, r CC=golang-dev https://golang.org/cl/5376041
-
Lucio De Re authored
. removed an unnexessary initialisation. . replaced 0 with 0L to match print format that in turn matched the type of the original function return value. R=golang-dev CC=golang-dev, rsc https://golang.org/cl/5306072
-
Russ Cox authored
Never lasts long. ««« original CL description gc: add GOEXPERIMENT=reorg This won't last long but may ease conversions. R=ken2 CC=golang-dev https://golang.org/cl/5375043 »»» R=ken2, ken CC=golang-dev https://golang.org/cl/5370043
-
Russ Cox authored
This won't last long but may ease conversions. R=ken2 CC=golang-dev https://golang.org/cl/5375043
-
Luuk van Dijk authored
Fixes #1951 R=rsc CC=golang-dev https://golang.org/cl/5372041
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5372044
-
Luuk van Dijk authored
Fixes #1802. R=rsc CC=golang-dev https://golang.org/cl/5364043
-
Luuk van Dijk authored
Fixes #1387. R=rsc CC=golang-dev https://golang.org/cl/5348046
-
Luuk van Dijk authored
Allow any type in switch on interface value. Statically check typeswitch early. Fixes #2423. Fixes #2424. R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5339045
-
Andrew Balholm authored
Pass tests1.dat, test 92: <head></html><meta><p> | <html> | <head> | <body> | <meta> | <p> Also pass tests through test 98: <p><b><div><marquee></p></b></div> R=nigeltao CC=golang-dev https://golang.org/cl/5359054
-
David Symonds authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5348051
-
David Symonds authored
R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/5362046
-
David Symonds authored
R=adg, rsc CC=golang-dev https://golang.org/cl/5359055
-
Andrew Gerrand authored
Arrange the code so that it's easier to keep edits in sync. R=golang-dev, mikioh.mikioh, bradfitz, andybalholm, rsc CC=golang-dev https://golang.org/cl/5345041
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/5357047
-