aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StatepointExampleGC.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-01-07 18:14:07 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-01-07 18:14:07 +0000
commit4d77fdf3115d32c3f50b07fb6c1254daebd66086 (patch)
tree5d34e8e2274af7d82fe5e566882f6b7f2faa71a0 /llvm/lib/CodeGen/StatepointExampleGC.cpp
parent0772dbd12566c6ed2be3a4407b1472808c9fc5c9 (diff)
downloadllvm-4d77fdf3115d32c3f50b07fb6c1254daebd66086.zip
llvm-4d77fdf3115d32c3f50b07fb6c1254daebd66086.tar.gz
llvm-4d77fdf3115d32c3f50b07fb6c1254daebd66086.tar.bz2
X86: Allow the stack probe size to be configurable per function
LLVM emits stack probes on Windows targets to ensure that the stack is correctly accessed. However, the amount of stack allocated before emitting such a probe is hardcoded to 4096. It is desirable to have this be configurable so that a function might opt-out of stack probes. Our level of granularity is at the function level instead of, say, the module level to permit proper generation of code after LTO. Patch by Andrew H! N.B. The inliner needs to be updated to properly consider what happens after inlining a function with a specific stack-probe-size into another function with a different stack-probe-size. llvm-svn: 225360
Diffstat (limited to 'llvm/lib/CodeGen/StatepointExampleGC.cpp')
0 files changed, 0 insertions, 0 deletions