From 3bccd87a588b3c320b669686c8f006b92ff72182 Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Thu, 14 Jan 2021 13:07:52 +0100 Subject: [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 --- clang/lib/Frontend/CompilerInvocation.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index f496c1d..cbe0382 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)); -- cgit v1.1