| Age | Commit message (Collapse) | Author |
|
|
|
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14860043
|
|
Replaces CL 14682044.
Fixes #6506.
R=rsc, iant, dave
CC=golang-dev
https://golang.org/cl/14717043
|
|
The preamble may want to #define some special symbols
and then #include <sys/types.h> itself. The builtin prolog
also #includes <sys/types.h>, which would break such a
preamble (because the second #include will be a no-op).
The use of sys/types.h in the builtin prolog is new since Go 1.1,
so this should preserve the semantics of more existing cgo
code than we would otherwise.
It also fixes src/pkg/syscall/mkall.sh's use of go tool cgo -godefs
on some Linux systems.
Thanks to fullung@ for identifying the problem.
Fixes #6558.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14684044
|
|
Ensure that clang always exits with a non-zero status by
giving it something that it always warns about (the statement "1;").
Fixes #6128.
R=golang-dev, iant, minux.ma
CC=golang-dev
https://golang.org/cl/14702043
|
|
Fixes #6506.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14682044
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14441070
|
|
make use of $USER or %USERNAME% to determine the current user.
Fixes #6578.
R=golang-dev, bradfitz, alex.brainman
CC=golang-dev
https://golang.org/cl/14649043
|
|
Fixes #6557.
R=golang-dev, rsc, tracey.brendan
CC=golang-dev
https://golang.org/cl/14432053
|
|
Also add the action's object directory to the list of
directories we use to find SWIG shared libraries.
Fixes #6521.
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14369043
|
|
Instead of adding an -march=armv5t flag to the gcc command
line, the same effect is obtained with an ".arch armv5t"
pseudo op in the assembly file that uses armv5t instructions.
R=golang-dev, iant, dave
CC=golang-dev
https://golang.org/cl/14511044
|
|
Full credit goes to gri and rsc for their explanations.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14229043
|
|
Add the -installsuffix flag to gc and {5,6,8}l, which overrides -race
for the suffix if both are supplied.
Pass this flag from the go tool for build and install.
R=rsc
CC=golang-dev
https://golang.org/cl/14246044
|
|
Fixes #3524.
R=golang-dev, iant, r
CC=golang-dev
https://golang.org/cl/14296043
|
|
R=rsc
CC=golang-dev
https://golang.org/cl/14188044
|
|
Added a new $GO_DISTFLAGS to make.bash, and while we're here,
added mention $CXX in make.bash (CL 13704044).
Fixes #6448.
Update #3564
We can pass GO_DISTFLAGS=-s from misc/dist to make.bash so that
it will build a statically linked toolchain.
(Note: OS X doesn't have the concept of static linking, so don't
pass GO_DISTFLAGS=-s for OS X builds)
R=adg, rsc, iant
CC=golang-dev
https://golang.org/cl/13887043
|
|
Currently, the directories generaed by includeArgs can have the "_race"
suffix added if invoked with -race flag, but ignores -installsuffix if
set.
R=adg, rsc
CC=golang-dev
https://golang.org/cl/14174043
|
|
Fixes #6480.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/13925043
|
|
Use the symbol prefixes with the prologue functions when using
gccgo.
Use an & when referring to a function declared as a variable.
Fix the malloc prologue function.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/13878043
|
|
Fixes #6397.
R=golang-dev, bradfitz, iant
CC=golang-dev
https://golang.org/cl/13858043
|
|
Fixes #6426.
R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/13704044
|
|
The syntax accepted is full build constraints, not just
GOOS, GOARCH, and GOOS/GOARCH.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/13504048
|
|
Fixes #6431.
Change suggested by kin.wilson.za.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/13314048
|
|
Fixes #6124
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/13500046
|
|
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/13588044
|
|
Fixes issues 6420.
R=ken2
CC=golang-dev
https://golang.org/cl/13703044
|
|
The line number alone does not help when the line is
case '~', '*', '(', ')', '[', ']', '{', '}', '?', ':', ';', ',', '*', '%', '^', '!', '=', '<', '>', '+', '-', '&', '|':
R=ken2
CC=golang-dev
https://golang.org/cl/13431046
|
|
Fixes #6245.
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/13751045
|
|
Keeping pointers from the pre-walk phase confuses
the race detection instrumentation.
Fixes #6418.
R=golang-dev, dvyukov, r
CC=golang-dev
https://golang.org/cl/13368057
|
|
Was causing "invalid symbol binding" and thus "malformed pe file" error.
R=golang-dev, alex.brainman, adg
CC=golang-dev
https://golang.org/cl/13722050
|
|
Fixes #5986.
R=golang-dev, rsc, alex.brainman
CC=golang-dev
https://golang.org/cl/13261055
|
|
Fixes #5740.
R=iant, rsc, luisbebop
CC=gobot, golang-dev
https://golang.org/cl/10345046
|
|
Unlike the other output from the -x flag, it was going to stdout.
Fixes #6362.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13746044
|
|
R=rsc, r
CC=golang-dev
https://golang.org/cl/13749044
|
|
This is a framework for docs on the subject more than it is
actual docs.
The section header in go/doc.go just says "C", not "C/C++,"
because otherwise godoc doesn't recognize the line as a
section header.
Fixes #5473.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13280050
|
|
This eliminates ~75% of the nil checks being emitted,
on all architectures. We can do better, but we need
a bit more general support from the compiler, and
I don't want to do that so close to Go 1.2.
What's here is simple but effective and safe.
A few small code generation cleanups were required
to make the analysis consistent on all systems about
which nil checks are omitted, at least in the test.
Fixes #6019.
R=ken2
CC=golang-dev
https://golang.org/cl/13334052
|
|
In particular document that the Go tool will look for certain
file extensions and compile with them with either the C or the
C++ compiler.
Fixes #6393.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13733043
|
|
Update #5764
Like Tribbles, the more you kill, the more spring up in their place.
R=rsc
CC=golang-dev
https://golang.org/cl/13324049
|
|
A new transformation during walk turns append calls
into a combination of growslice and memmove.
benchmark old ns/op new ns/op delta
BenchmarkAppend 141 141 +0.00%
BenchmarkAppend1Byte 18 11 -39.56%
BenchmarkAppend4Bytes 19 10 -42.63%
BenchmarkAppend7Bytes 18 10 -42.16%
BenchmarkAppend8Bytes 18 10 -40.44%
BenchmarkAppend15Bytes 19 11 -41.67%
BenchmarkAppend16Bytes 19 11 -41.97%
BenchmarkAppend32Bytes 23 14 -38.82%
BenchmarkAppendStr1Byte 14 10 -23.78%
BenchmarkAppendStr4Bytes 14 11 -21.13%
BenchmarkAppendStr8Bytes 14 10 -25.17%
BenchmarkAppendStr16Bytes 19 11 -41.45%
BenchmarkAppendStr32Bytes 18 14 -19.44%
BenchmarkAppendSpecialCase 62 63 +1.77%
R=golang-dev, khr, cshapiro, rsc, dave
CC=golang-dev
https://golang.org/cl/12815046
|
|
Hide container symbols like text and etext so that
the individual pieces inside are shown instead.
For example, if text and main.init have the same
address, it was a toss-up which name was printed.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/13722046
|
|
The code for call site-specific pointer bitmaps was not ready in time,
but the zeroing required without it is too expensive to use by default.
We will have to wait for precise collection of stack frames until Go 1.3.
The precise collection can be re-enabled by
GOEXPERIMENT=precisestack ./all.bash
but that will not be the default for a Go 1.2 build.
Fixes #6087.
R=golang-dev, jeremyjackins, dan.kortschak, r
CC=golang-dev
https://golang.org/cl/13677045
|
|
All these features have in fact been implemented.
R=rsc
CC=golang-dev
https://golang.org/cl/13419049
|
|
Fixes #6395.
R=ken2
CC=golang-dev
https://golang.org/cl/13470046
|
|
Fixes #6399.
R=ken2
CC=golang-dev
https://golang.org/cl/13253055
|
|
Because we can, and because it otherwise might crash
the program if we think we're out of memory.
Fixes #6390.
R=golang-dev, iant, minux.ma
CC=golang-dev
https://golang.org/cl/13345048
|
|
Fixes #6312.
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/13391049
|
|
The -S flag reports symbol size, but is missing from the usage message.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/13660046
|
|
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/13721043
|
|
Fake types describing the internal structure of hashmaps are
generated for use by precise GC.
Generating hash and eq functions for these fake types slows down
the build and wastes space: the go tool binary size is 13MB
instead of 12MB, and the package size on amd64 is 48.7MB instead
of 45.3MB.
R=golang-dev, daniel.morsing, r, khr, rsc, iant
CC=golang-dev
https://golang.org/cl/13698043
|
|
Keith is too clever for me.
R=ken2
CC=golang-dev, khr
https://golang.org/cl/13272050
|