]> granicus.if.org Git - clang/commit
Don't reduce the stack protector level given -fstack-protector.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 22 May 2014 22:57:39 +0000 (22:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 22 May 2014 22:57:39 +0000 (22:57 +0000)
commit6d1cc5772794c17a4bcf74a2db0c1289c60e25b2
treef0f6fc3862a65b6ce13606e8c371769eca43e614
parent1e2e58f753d26b0323ffae95abd53f0203ff201a
Don't reduce the stack protector level given -fstack-protector.

Before -fstack-protector would always force a level of 1, even if the default
was 2.

Patch by Brad Smith.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209479 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/stack-protector.c