summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2017-05-11 08:00:33 +0000
committerSerge Pavlov <sepavloff@gmail.com>2017-05-11 08:00:33 +0000
commitc5cc230587a01130ffe8a5a4b9e2779c25222984 (patch)
tree5250516f995dd187ac062c84bbe7f5084072504f /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp
parentc7b5977bb1bd6bdde311d5fc71ee3bbc1e14cdab (diff)
downloadbcm5719-llvm-c5cc230587a01130ffe8a5a4b9e2779c25222984.tar.gz
bcm5719-llvm-c5cc230587a01130ffe8a5a4b9e2779c25222984.zip
Driver must return non-zero code on errors in command line
Now if clang driver is given wrong arguments, in some cases it continues execution and returns zero code. This change fixes this behavior. The fix revealed some errors in clang test set. File test/Driver/gfortran.f90 added in r118203 checks forwarding gfortran flags to GCC. Now driver reports error on this file, because the option -working-directory implemented in clang differs from the option with the same name implemented in gfortran, in clang the option requires argument, in gfortran does not. In the file test/Driver/arm-darwin-builtin.c clang is called with options -fbuiltin-strcat and -fbuiltin-strcpy. These option were removed in r191435 and now clang reports error on this test. File arm-default-build-attributes.s uses option -verify, which is not supported by driver, it is cc1 option. Similarly, the file split-debug.h uses options -fmodules-embed-all-files and -fmodule-format=obj, which are not supported by driver. Other revealed errors are mainly mistypes. Differential Revision: https://reviews.llvm.org/D33013 llvm-svn: 302775
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud