This is the gccgo version of https://golang.org/cl/141822:
Only return a pointer p to the new slices backing array from makeslice.
Makeslice callers then construct sliceheader{p, len, cap} explictly
instead of makeslice returning the slice.
This change caused the GCC backend to break the runtime/pprof test by
merging together the identical functions allocateReflectTransient and
allocateTransient2M. This caused the traceback to be other than
expected. Fix that by making the functions not identical.
This is a step toward updating libgo to the Go1.12beta1 release.
Reviewed-on: https://go-review.googlesource.com/c/155937
From-SVN: r267660
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| go | Loading commit data... | |
| misc/cgo | Loading commit data... | |
| runtime | Loading commit data... | |
| testsuite | Loading commit data... | |
| LICENSE | Loading commit data... | |
| MERGE | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| PATENTS | Loading commit data... | |
| README | Loading commit data... | |
| README.gcc | Loading commit data... | |
| VERSION | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| check-packages.txt | Loading commit data... | |
| config.h.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| goarch.sh | Loading commit data... | |
| godeps.sh | Loading commit data... | |
| gotool-packages.txt | Loading commit data... | |
| libgo-packages.txt | Loading commit data... | |
| libgo.imp | Loading commit data... | |
| match.sh | Loading commit data... | |
| merge.sh | Loading commit data... | |
| mkrsysinfo.sh | Loading commit data... | |
| mkruntimeinc.sh | Loading commit data... | |
| mksigtab.sh | Loading commit data... | |
| mksysinfo.sh | Loading commit data... | |
| mvifdiff.sh | Loading commit data... | |
| sysinfo.c | Loading commit data... |