projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8031062
)
runtime: also disable split stacks for runtime_snprintf function under Clang
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Sun, 20 Jul 2014 09:24:16 +0000
(09:24 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Sun, 20 Jul 2014 09:24:16 +0000
(09:24 +0000)
From-SVN: r212862
libgo/runtime/print.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/print.c
b/libgo/runtime/print.c
index ae7e7401b32c53e68dee352242a2e075d8fa1a27..69b1f81fb421966b3cfdcc02bf8aaff733c2575e 100644
(file)
--- 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