From: Ian Lance Taylor Date: Sun, 20 Jul 2014 09:24:16 +0000 (+0000) Subject: runtime: also disable split stacks for runtime_snprintf function under Clang X-Git-Tag: releases/gcc-5.1.0~6194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c2afaca8911c5fef5c7bfa2df8f71bb0c529d37;p=thirdparty%2Fgcc.git runtime: also disable split stacks for runtime_snprintf function under Clang From-SVN: r212862 --- diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c index ae7e7401b32c..69b1f81fb421 100644 --- a/libgo/runtime/print.c +++ b/libgo/runtime/print.c @@ -76,9 +76,15 @@ runtime_prints(const char *s) // x86-64. Note that signal handlers receive slightly less stack space than they // would normally do if they happen to be called while this function is being // run. If this turns out to be a problem we could consider increasing BACKOFF. + void runtime_printf(const char *s, ...) __attribute__((no_split_stack)); + +int32 +runtime_snprintf(byte *buf, int32 n, const char *s, ...) +__attribute__((no_split_stack)); + #endif void