aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-20 09:24:16 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-20 09:24:16 +0000
commitb905b77127941011c7523b045b0d7d8371e0e172 (patch)
tree151908a107cde33fa13f5ed2f888db8a19163e28 /libgo
parent5d733812b6fc364ab35b3b48914e6eae959a4efd (diff)
runtime: also disable split stacks for runtime_snprintf function under Clang
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/print.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c
index ae7e7401b32..69b1f81fb42 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