]> granicus.if.org Git - clang/commit
clang-cl: Remove -O0 option
authorNico Weber <nicolasweber@gmx.de>
Thu, 11 Jul 2019 01:18:05 +0000 (01:18 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 11 Jul 2019 01:18:05 +0000 (01:18 +0000)
commitff1cfadf7654cb29c0a61bdd3105582f95a5ef8b
tree865feb3cc6ef1a2d1cfb34f1ef099e679dd3130e
parent9262e7b92bdc87da406a633ad0664af57cf12786
clang-cl: Remove -O0 option

cl.exe doesn't understand it; there's /Od instead. See also the review
thread for r229575.

Update lots of compiler-rt tests to use -Od instead of -O0.
Ran `rg -l 'clang_cl.*O0' compiler-rt/test/ | xargs sed -i -c 's/-O0/-Od/'`

Differential Revision: https://reviews.llvm.org/D64506

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365724 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CLCompatOptions.td