Commit f80a27e3 authored by Richard Smith's avatar Richard Smith
Browse files

[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
parent f1b1bfaf
Supports Markdown
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