- 16 Apr, 2015 34 commits
-
-
Shenghou Ma authored
Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f08 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8787Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
David Crawshaw authored
I said I removed this from cl/8711 in response to your comment, but apparently I did not. misc/cgo/testcarchive continues to pass on darwin/amd64. Change-Id: I6410782f2a78bf117741628fb71cac56e289b590 Reviewed-on: https://go-review.googlesource.com/9010Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
David Crawshaw authored
For some reason the absense of an implementation does not stop arm64 binaries being built. However it comes up with -buildmode=c-archive. Change-Id: Ic0db5fd8fb4fe8252b5aa320818df0c7aec3db8f Reviewed-on: https://go-review.googlesource.com/8989Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Michael Hudson-Doyle authored
Change-Id: I749fd91cd3c7581cdcc97a15e8eeee0c20f0b259 Reviewed-on: https://go-review.googlesource.com/8805Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
-
David Crawshaw authored
Change-Id: Ib227aa3e14d01a0ab1ad9e53d107858e045d1c42 Reviewed-on: https://go-review.googlesource.com/8984Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
David du Colombier authored
Change-Id: I8b2063e65d3454a694a789c1682dacfe0bea2e19 Reviewed-on: https://go-review.googlesource.com/8965Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Jonathan Rudenberg authored
- Multiple GetCertificate tests shared the same name and were overwriting each other, each test now has a unique name. - expectAlert was not implemented in the data updater, the single test that used it has been replaced with a ClientHello failure test. Fixes #10470 Change-Id: I500738f6302ffa863d7ee45d85fa8773155e0614 Reviewed-on: https://go-review.googlesource.com/8959Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org>
-
David Crawshaw authored
Change-Id: I8e912ff9327a4163b63b8c628aa3546e86ddcc02 Reviewed-on: https://go-review.googlesource.com/8983Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
-
Brad Fitzpatrick authored
This reverts commit 3e6b7f35. Change-Id: Icad2b235b9880729fbdf80d7dfd71e56df4b1231 Reviewed-on: https://go-review.googlesource.com/8944Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Shenghou Ma authored
Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f06 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8785Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Fixes #7075 Change-Id: I57fcebaaef768b00263b6b91211b1434f6a4b229 Reviewed-on: https://go-review.googlesource.com/8919Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
-
Russ Cox authored
Change-Id: I86530a4fd240f3e056e3277355d2965f6863b852 Reviewed-on: https://go-review.googlesource.com/8951Reviewed-by: Rob Pike <r@golang.org>
-
Alexandre Cesaro authored
It is not needed right now, but it will allow more flexibility in the future. Fixes #10472 Change-Id: I2eaea70abeca5ed10f89b0b2dfdabdac376a0a41 Reviewed-on: https://go-review.googlesource.com/8964Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Michael Hudson-Doyle authored
The ptrto field of the type data cannot be relied on when dynamic linking: a type T may be defined in a module that makes no use of pointers to that type, but another module can contain a package that imports the first one and does use *T pointers. The second module will end up defining type data for *T and a type.*T symbol pointing at it. It's important that calling .PtrTo() on the refect.Type for T returns this type data and not some synthesized object, so we need reflect to be able to find it! Fortunately, the reflect package already has a mechanism for doing this sort of thing: ChanOf/MapOf/etc look for pre-existing type data by name. So this change just extends PtrTo() to consult this too, and changes the compiler to include pointer types in the data consulted when compiling for dynamic linking. Change-Id: I3773c066fd0679a62e9fc52a84bf64f1d67662b7 Reviewed-on: https://go-review.googlesource.com/8232Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
-
Josh Bleecher Snyder authored
This is a follow-up to CL 8910. This is the version that I have tested and which works when appID and teamID are not the same (which they appear to be for the builder). I am unsure how I submitted it with the wrong code. Change-Id: I186e34e91953d082b507390c1cd2042e5419c4c9 Reviewed-on: https://go-review.googlesource.com/8943Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Josh Bleecher Snyder authored
7g and 9g disagree with componentgen about what type len and cap have. This results in an etype mismatch, which inhibits registerization. Fixing this results in 7406 more registerizations while building the stdlib. There are still 1512 missed opportunities. This should improve the performance benefit to 7g of enabling componentgen (CL 8636). This CL reduces the size of godoc by 203k (-1.177%). This was discovered by using the diagnostics added in CL 8732 and running: GOARCH=arm64 GOOS=linux go build -gcflags="-d registerization" std See CL 91850043 for similar earlier fixes for 6g and 8g. Change-Id: I57f478228a000ad7529d4136bad94a51343c4daa Reviewed-on: https://go-review.googlesource.com/8733Reviewed-by: Dave Cheney <dave@cheney.net> Reviewed-by: Keith Randall <khr@golang.org>
-
Aram Hăvărneanu authored
We can use CBNZ instruction and make it one instruction shorter. Saves 66kB in godoc. Change-Id: Ie71fe7cf31e7f73644ee926f4f9624c009c3eb1a Reviewed-on: https://go-review.googlesource.com/8634Reviewed-by: Minux Ma <minux@golang.org>
-
Aram Hăvărneanu authored
Optimize the sequence: MOV $imm, Rt ADD Rt, Rs, Rd into: ADD $imm, Rs, Rd Saves 66k in godoc. Change-Id: I27b4aaa0ec80a59472fe2e5816efdf3db9c901ee Reviewed-on: https://go-review.googlesource.com/8632Reviewed-by: Minux Ma <minux@golang.org>
-
Shenghou Ma authored
Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f03 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8782Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Shenghou Ma authored
Because there is no libgcc. Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f07 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8786Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
David Crawshaw authored
Change-Id: I402629b154ae36c879a8d5088cb0f71b075f31dc Reviewed-on: https://go-review.googlesource.com/8958Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
-
Shenghou Ma authored
Fixes #10116. Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f05 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8784Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Shenghou Ma authored
Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f04 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8783Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
David Crawshaw authored
We no longer need the EXC_BAD_ACCESS watcher as runtime/cgo contains a mach exception handler that catches it. And now lldb only intermittently reports process connection and exiting, so instead just look for the PASS from Go. Change-Id: I403266558f5a900e0b87ec1019d9baec88148d23 Reviewed-on: https://go-review.googlesource.com/8957Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
-
Matthew Dempsky authored
If the requested coding bit sizes don't result in a full binary tree, then reject the input as invalid. Exception: We still need to allow degenerate Huffman codings with a single 1-bit code to be compatible with zlib and files compressed with Go's compress/flate package. Update #10426. Change-Id: I171b98d12e65b4deb9f4031cd802407ebb5e266c Reviewed-on: https://go-review.googlesource.com/8922Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
Dave Day authored
Change-Id: I6089cebf7de73ce9c4e53ad3e8ef2673d970bda2 Reviewed-on: https://go-review.googlesource.com/8908Reviewed-by: Rob Pike <r@golang.org>
-
Shenghou Ma authored
Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f02 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8781Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Shenghou Ma authored
ld64 cannot handle BR26 reloc with non-zero addend. It incorrectly thinks that non-zero addend for BR26 means the code is not PIC, but those BR26 relocs should be fully resolved at link time. Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f01 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8780Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Shenghou Ma authored
To support "SVC $0x80", which is needed for darwin/arm64. Change-Id: I3b3f80791a1db4c2b7318f81a115972cd2237f00 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8769Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Matthew Dempsky authored
This code's test coverage is ad hoc at best, and it's easy to make changes that accidentally regress invariants. This CL adds a "sanity" constant that can be changed to "true" during development to add extra runtime checking that the Huffman decoder tables are sane. Change-Id: I0d0ca53ad7c9566be18046d9b255e1a30059f28b Reviewed-on: https://go-review.googlesource.com/8974Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
Matthew Dempsky authored
When decoding Huffman codes, if an invalid bit sequence is discovered, reject the input instead of treating it as a 0-length code. Fixes #10426. Change-Id: Ie2f1a3a718afd7c6bee73a67480d4b84936c21c9 Reviewed-on: https://go-review.googlesource.com/8893 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
Dave Day authored
This also involves adding functions to typelinks along with a minor change to ensure they are sorted correctly. Change-Id: I054a79b6498a634cbccce17579f52c299733c2cf Reviewed-on: https://go-review.googlesource.com/1996Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Nigel Tao authored
Change-Id: I211c0d33dc292c6a703d788f6d4d286107bcb6b0 Reviewed-on: https://go-review.googlesource.com/8906Reviewed-by: Rob Pike <r@golang.org>
-
Mikio Hara authored
Under some dial tests that require external network connectivity, we must prevent application traffic but must not interfere with control plane traffic such as DNS message exchange. But test helper function disableSocketConnect prevents both application and control plane traffic unconditionally and makes some dial tests with -ipv6 fail when CGO_ENABLED=0. This change makes disableSocketConnect take a look at not only address family but socket type for fixing some dial tests with -ipv6 when CGO_ENBALED=0. Change-Id: I32241d9592d31483424bb5e69cb4d56f3fc20312 Reviewed-on: https://go-review.googlesource.com/8743Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 15 Apr, 2015 6 commits
-
-
Michael Hudson-Doyle authored
Change-Id: I09e84161d106960a69972f5fc845a1e40c28e58f Reviewed-on: https://go-review.googlesource.com/8331 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Michael Hudson-Doyle authored
You can now do 'go install -buildmode=shared std' and get yourself a nice (33 meg) libstd.so (which is not useful until there is -linkshared support as well, of course). Change-Id: Ie9b7e7f72abc7d369a6e3ecc98903a9d197bd6e6 Reviewed-on: https://go-review.googlesource.com/8300 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Ian Lance Taylor authored
Move the single file from internal/syscall to internal/syscall/unix, to match the golang.org/x/sys layout. Change-Id: I2fb2832b4cb22efc7666bd276f5401ac3e73dc40 Reviewed-on: https://go-review.googlesource.com/8972Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Rob Pike <r@golang.org>
-
David Crawshaw authored
Change-Id: I9ceceb29291ea9f5d7b675dfabd665c5e3618471 Reviewed-on: https://go-review.googlesource.com/8955Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Michael Hudson-Doyle authored
Fixes #10449 Change-Id: I1dc2d0213e6a46f3609222d5460c1a54081e2471 Reviewed-on: https://go-review.googlesource.com/8931Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Michael Hudson-Doyle authored
This is $GOPATH/pkg/linux_amd64 or similar. cmd/go already had a grotty calculation of this and I need to add another one for -buildmode=shared. Change-Id: Ied28c9b7cce671da8d45920e124a3e0c2501258a Reviewed-on: https://go-review.googlesource.com/8930Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-