diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-02-23 13:47:36 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-02-23 13:47:36 +0000 |
commit | dddfaa1e7a54a28fffa56f08456a1fa0ad642ea6 (patch) | |
tree | 36a6c7687c92a21e89ccb0308af4b76a7ae709b8 /lib/Frontend/CompilerInvocation.cpp | |
parent | 809974c6ce99d4913c8f6516fabe36e509a9e41f (diff) | |
download | clang-dddfaa1e7a54a28fffa56f08456a1fa0ad642ea6.tar.gz |
Support for the mno-stack-arg-probe flag
Adds support for this flag. There is also another piece for llvm
(separate review). More info:
https://bugs.llvm.org/show_bug.cgi?id=36221
By Ruslan Nikolaev!
Differential Revision: https://reviews.llvm.org/D43108
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 5be02c9682..956c333937 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -923,6 +923,8 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, Opts.StackProbeSize = StackProbeSize; } + Opts.NoStackArgProbe = Args.hasArg(OPT_mno_stack_arg_probe); + if (Arg *A = Args.getLastArg(OPT_fobjc_dispatch_method_EQ)) { StringRef Name = A->getValue(); unsigned Method = llvm::StringSwitch<unsigned>(Name) |