summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-02-23 13:47:36 +0000
committerHans Wennborg <hans@hanshq.net>2018-02-23 13:47:36 +0000
commitd43f40df1c5cd844cfc1eb7d9924498fdb0321ab (patch)
tree73afc078d2a30c345c659c6bc489566876b3a63b /clang/lib/Frontend/CompilerInvocation.cpp
parent89c35fc44daf4b0a3608da50caaf8ec972565189 (diff)
downloadbcm5719-llvm-d43f40df1c5cd844cfc1eb7d9924498fdb0321ab.tar.gz
bcm5719-llvm-d43f40df1c5cd844cfc1eb7d9924498fdb0321ab.zip
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 llvm-svn: 325901
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 5be02c96826..956c3339376 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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)
OpenPOWER on IntegriCloud