diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-10-14 19:51:36 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-10-14 19:51:36 +0000 |
commit | f80a27e3c6190a9aaec4454696cd4c162e3164e6 (patch) | |
tree | 878f736a0e9f2354bd5cf0f15675c3eaf8ece925 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | f1b1bfaf8c9a0a085af2b22704c735b7377227de (diff) | |
download | llvm-f80a27e3c6190a9aaec4454696cd4c162e3164e6.zip llvm-f80a27e3c6190a9aaec4454696cd4c162e3164e6.tar.gz llvm-f80a27e3c6190a9aaec4454696cd4c162e3164e6.tar.bz2 |
[linux] When pre-reserving stack pages to work around broken address space
layout for PIE binaries, ask the OS how much stack space is already in use to
avoid stack overflow if we are run with more than 512K of combined command line
arguments + environment variables.
llvm-svn: 284271
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions