Commit 1c2afaca by Ian Lance Taylor

runtime: also disable split stacks for runtime_snprintf function under Clang

From-SVN: r212862
parent 80310625
...@@ -76,9 +76,15 @@ runtime_prints(const char *s) ...@@ -76,9 +76,15 @@ runtime_prints(const char *s)
// x86-64. Note that signal handlers receive slightly less stack space than they // 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 // 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. // run. If this turns out to be a problem we could consider increasing BACKOFF.
void void
runtime_printf(const char *s, ...) runtime_printf(const char *s, ...)
__attribute__((no_split_stack)); __attribute__((no_split_stack));
int32
runtime_snprintf(byte *buf, int32 n, const char *s, ...)
__attribute__((no_split_stack));
#endif #endif
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment