Ian Lance Taylor
c5c78a527d
runtime: fix sigfwd to not allocate memory
...
The use of &[1]uintptr{fn} was causing sigfwd to allocate memory, even
though it is being compiled for the runtime package. That is a bad
idea for this function, which is invoked by a signal handler. Rewrite
it to use only constructs that do not allocate memory when compiled
for the runtime package.
The test for this is misc/cgo/testcarchive in the main repo, which we
don't yet test.
Reviewed-on: https://go-review.googlesource.com/37454
From-SVN: r245777
2017-02-28 15:13:16 +00:00
..
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-02-17 15:43:39 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2016-12-19 18:00:35 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-10 21:09:00 +00:00
2016-11-22 17:58:04 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2016-11-18 00:15:38 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2016-12-08 16:37:54 +00:00
2016-12-08 16:37:54 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2016-10-28 18:57:36 +00:00
2016-10-21 20:07:06 +00:00
2016-10-21 20:07:06 +00:00
2017-01-09 19:37:19 +00:00
2017-01-09 19:37:19 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2016-10-19 16:53:13 +00:00
2016-10-18 14:38:29 +00:00
2016-10-18 14:38:29 +00:00
2016-10-18 14:38:29 +00:00
2016-10-18 14:38:29 +00:00
2016-10-18 14:38:29 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-09 19:37:19 +00:00
2017-01-20 21:18:37 +00:00
2016-10-17 16:54:25 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-02-28 15:13:16 +00:00
2017-01-16 01:21:42 +00:00
2017-01-26 19:07:54 +00:00
2016-11-10 22:53:23 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-16 01:21:42 +00:00
2016-10-14 17:20:40 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-03 22:58:48 +00:00
2017-01-10 03:59:20 +00:00
2016-12-08 16:37:54 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2017-01-14 00:05:42 +00:00
2016-10-11 00:08:35 +00:00