From b4b7464b57190287cb1bfc5eb56f63148a508f0c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 21 Nov 2019 01:06:47 +0000 Subject: re PR go/92605 (r278509 causes/reveals issue in building go library) PR go/92605 runtime: declare runtime_usestackmaps in stack.c, not runtime.h Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/208161 From-SVN: r278540 --- libgo/runtime/stack.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libgo/runtime/stack.c') diff --git a/libgo/runtime/stack.c b/libgo/runtime/stack.c index aff8dd5..c78f0c4 100644 --- a/libgo/runtime/stack.c +++ b/libgo/runtime/stack.c @@ -16,6 +16,8 @@ extern void * __splitstack_find_context (void *context[10], size_t *, void **, #endif +bool runtime_usestackmaps; + // Calling unwind_init in doscanstack only works if it does not do a // tail call to doscanstack1. #pragma GCC optimize ("-fno-optimize-sibling-calls") -- cgit v1.1