gcc/libgo
Ian Lance Taylor 5ac2fd0d6e libgo: prune sighandler frames in runtime.sigprof
When writing stack frames to the pprof CPU profile machinery, it is
    very important to insure that the frames emitted do not contain any
    frames corresponding to artifacts of the profiling process itself
    (signal handlers, sigprof, etc). This patch changes runtime.sigprof to
    strip out those frames from the raw stack generated by
    "runtime.callers".
    
    Fixes golang/go#26595.
    
    Reviewed-on: https://go-review.googlesource.com/126175

From-SVN: r263035
2018-07-27 18:43:34 +00:00
..
config
go libgo: prune sighandler frames in runtime.sigprof 2018-07-27 18:43:34 +00:00
misc/cgo libgo: update to Go 1.10.3 release 2018-06-13 13:51:23 +00:00
runtime runtime: don't stat a NULL filename 2018-06-28 20:54:04 +00:00
testsuite libgo: add support for the Nios II architecture 2018-05-02 22:28:46 +00:00
LICENSE
MERGE libgo: update to Go 1.10.3 release 2018-06-13 13:51:23 +00:00
Makefile.am go/build, cmd/go: update to match recent changes to gc 2018-05-09 21:49:47 +00:00
Makefile.in go/build, cmd/go: update to match recent changes to gc 2018-05-09 21:49:47 +00:00
PATENTS
README libgo/README: Minor updates. 2015-03-13 18:53:13 +00:00
README.gcc
VERSION libgo: update to Go 1.10.3 release 2018-06-13 13:51:23 +00:00
aclocal.m4 libgo: fixes for Solaris build 2016-12-13 18:03:45 +00:00
check-packages.txt libgo: update to Go 1.10.2 release 2018-05-31 21:42:53 +00:00
config.h.in syscall: remove Ustat 2018-06-22 14:25:52 +00:00
configure syscall: remove Ustat 2018-06-22 14:25:52 +00:00
configure.ac syscall: remove Ustat 2018-06-22 14:25:52 +00:00
goarch.sh libgo: add riscv and js/wasm as known targets 2018-06-11 19:16:34 +00:00
godeps.sh libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
gotool-packages.txt libgo: refactor code to enumerate stdlib packages 2018-05-02 21:57:35 +00:00
libgo-packages.txt libgo: refactor code to enumerate stdlib packages 2018-05-02 21:57:35 +00:00
libgo.imp Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
match.sh libgo: add support for the Nios II architecture 2018-05-02 22:28:46 +00:00
merge.sh libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
mkrsysinfo.sh libgo: adapt Solaris 12 references 2017-11-14 14:26:04 +00:00
mkruntimeinc.sh libgo: refactor code to enumerate stdlib packages 2018-05-02 21:57:35 +00:00
mksigtab.sh libgo: don't use grep -q in mksigtab.sh 2017-11-22 00:27:29 +00:00
mksysinfo.sh syscall: remove Ustat 2018-06-22 14:25:52 +00:00
mvifdiff.sh runtime: introduce mvifdiff.sh script to replace GCC's move-if-change 2014-12-01 01:06:29 +00:00
sysinfo.c syscall: remove Ustat 2018-06-22 14:25:52 +00:00

README

See ../README.

This is the runtime support library for the Go programming language.
This library is intended for use with the Go frontend.

This library should not be stripped when it is installed.  Go code
relies on being able to look up file/line information, which comes
from the debugging info using the libbacktrace library.

The library has only been tested on GNU/Linux using glibc, and on
Solaris.  It should not be difficult to port to other operating
systems.

Directories:

go
  A copy of the Go library from http://golang.org/, with several
  changes for gccgo.

runtime
  Runtime functions, written in C, which are called directly by the
  compiler or by the library.

Contributing
============

To contribute patches to the files in this directory, please see
http://golang.org/doc/gccgo_contribute.html .

The master copy of these files is hosted at
http://code.google.com/p/gofrontend .  Changes to these files require
signing a Google contributor license agreement.  If you are the
copyright holder, you will need to agree to the individual contributor
license agreement at
http://code.google.com/legal/individual-cla-v1.0.html.  This agreement
can be completed online.

If your organization is the copyright holder, the organization will
need to agree to the corporate contributor license agreement at
http://code.google.com/legal/corporate-cla-v1.0.html.

If the copyright holder for your code has already completed the
agreement in connection with another Google open source project, it
does not need to be completed again.