[llvm-commits] [PATCH] Segmented stack fixes, support for Mac, Win32, FreeBSD
Sanjoy Das
sanjoy at playingwithpointers.com
Sat Jan 7 11:28:15 PST 2012
Hi,
> On patch 06:
> Saving the scratch register is safe because you known there is always
> some reserve space left?
This is safe at least on libgcc since it allocates some extra space
(beyond the amount asked for).
>From morestack.S:
# The amount of extra space we ask for. In general this has to be
# enough for the dynamic loader to find a symbol and for a signal
# handler to run.
#ifndef __x86_64__
#define BACKOFF (1024)
#else
#define BACKOFF (1536)
#endif
> Sanjoy, any other comments?
Nothing other than the points already mentioned.
Thanks!
--
Sanjoy Das
http://playingwithpointers.com
More information about the llvm-commits
mailing list