[PATCH] Fix hardcoded stack probe space
Andrew H
clangbugs.10.mdwxzxkl at spamgourmet.com
Wed Dec 24 20:18:23 PST 2014
> What happens if we do LTO?
Well, if nothing else is specified, it will take the default stack probe size; that means that the behavior with LTO is as it was before.
> Don't we need to record the probe size on the function?
Great suggestion! That might be useful.
> It wouldn't make sense to make it a command line flag if we supported this on a per function basis.
I think that the stack alignment is also tracked on a per function basis, and there is still a command line flag for overriding that.
My aim is currently to get MSVC's /Gs into LLVM, and I cannot see how one could do that without a command line flag.
I will look how the stack alignment is specified when using LTO and will report back if that is also useful in this case.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D6684
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list