Author: Jan Svoboda Date: 2021-01-14T13:21:44+01:00 New Revision: 3bccd87a588b3c320b669686c8f006b92ff72182
URL: https://github.com/llvm/llvm-project/commit/3bccd87a588b3c320b669686c8f006b92ff72182 DIFF: https://github.com/llvm/llvm-project/commit/3bccd87a588b3c320b669686c8f006b92ff72182.diff LOG: [clang][cli] NFC: Remove SSPBufferSize assignment This should've been part of D84669, but got overlooked. Removing the assignment is NFC, as it's also done by the marshalling infrastructure for the stack_protector_buffer_size option. Reviewed By: dexonsmith in D94488 Added: Modified: clang/lib/Frontend/CompilerInvocation.cpp Removed: ################################################################################ diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index f496c1d65bc5..cbe038224323 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1142,8 +1142,6 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, } Opts.LinkBitcodeFiles.push_back(F); } - Opts.SSPBufferSize = - getLastArgIntValue(Args, OPT_stack_protector_buffer_size, 8, Diags); Opts.StackProtectorGuard = std::string(Args.getLastArgValue(OPT_mstack_protector_guard_EQ)); _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits