This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/52583] Several new go testsuite failues on Solaris
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jun 2014 13:56:46 +0000
- Subject: [Bug go/52583] Several new go testsuite failues on Solaris
- Auto-submitted: auto-generated
- References: <bug-52583-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52583
--- Comment #29 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Jun 13 13:56:14 2014
New Revision: 211640
URL: https://gcc.gnu.org/viewcvs?rev=211640&root=gcc&view=rev
Log:
PR go/52583
runtime: Stop backtrace at a few recognized functions.
On x86_64 Solaris the makecontext function does not properly
indicate that it is at the top of the stack. Attempting to
unwind the stack past a call to makecontext tends to crash.
This patch changes libgo to look for certain functions that
are always found at the top of the stack, and to stop
unwinding when it reaches one of those functions. There is
never anything interesting past these functions--that is,
there is never any code written by the user.
Modified:
trunk/libgo/runtime/go-callers.c