Implement command line options for stack probe space
authorHans Wennborg <hans@hanshq.net>
Tue, 20 Jan 2015 19:45:50 +0000 (19:45 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 20 Jan 2015 19:45:50 +0000 (19:45 +0000)
commit77dc236605aa95a542ea68d7430a9e5ddb30123b
tree464d99fff9f115da92634aeeb2b53bde45413a6c
parent6b77455f819dfd587bd6927b7e1c705a6d3df36d
Implement command line options for stack probe space

This code adds the -mstack-probe-size command line option and implements the /Gs
compiler switch for clang-cl.

This should fix http://llvm.org/bugs/show_bug.cgi?id=21896

Patch by Andrew H!

Differential Revision: http://reviews.llvm.org/D6685

llvm-svn: 226601
clang/include/clang/Driver/CLCompatOptions.td
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/CodeGenOptions.def
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/cl-options.c