runtime: also disable split stacks for runtime_snprintf function under Clang

From-SVN: r212862
This commit is contained in:
Ian Lance Taylor 2014-07-20 09:24:16 +00:00
parent 803106258c
commit 1c2afaca89

View File

@ -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