summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/objc-cpp-output.m
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-27 07:32:11 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-27 07:32:11 +0000
commit015ce0f68f791b3abec4225c1b2e532ce5020174 (patch)
tree7b755798a643c838a8f3e25bbbf175715ed04018 /clang/test/Driver/objc-cpp-output.m
parenta96ffd5337191d0862c236e27801aafb6fbc4a9b (diff)
downloadbcm5719-llvm-015ce0f68f791b3abec4225c1b2e532ce5020174.tar.gz
bcm5719-llvm-015ce0f68f791b3abec4225c1b2e532ce5020174.zip
[clang-cl] Handle -O correctly
We had multiple bugs here: - We didn't support multiple optimization options in one argument. e.g. -O2y- - We didn't correctly expand -O[12dx] to their respective options. - We treated -O1 as clang -O1 instead of clang -Os. - We treated -Ox as clang -O3 instead of clang -O2. In fact, cl's -Ox option is *less* powerful than cl's -O2 option despite -Ox described as "Full Optimization". This fixes PR24003. llvm-svn: 243261
Diffstat (limited to 'clang/test/Driver/objc-cpp-output.m')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud