Rafael Espindola | c720d46 | 2012-12-11 05:52:24 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s |
| 2 | |
Rafael Espindola | c720d46 | 2012-12-11 05:52:24 +0000 | [diff] [blame] | 3 | // CHECK: cc1as |
David Blaikie | 9260ed6 | 2013-07-25 21:19:01 +0000 | [diff] [blame] | 4 | // CHECK: -mrelax-all |
David Blaikie | 372d950 | 2014-01-17 03:17:40 +0000 | [diff] [blame] | 5 | |
Saleem Abdulrasool | cfeb90d | 2014-02-23 00:40:30 +0000 | [diff] [blame^] | 6 | // RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS |
| 7 | |
| 8 | // FIAS: cc1as |
| 9 | |
| 10 | // RUN: %clang -### -fno-integrated-as -S %s 2>&1 \ |
| 11 | // RUN: | FileCheck %s -check-prefix NOFIAS |
| 12 | |
| 13 | // NOFIAS-NOT: cc1as |
| 14 | // NOFIAS: -cc1 |
| 15 | // NOFIAS: -no-integrated-as |
| 16 | |
David Blaikie | 372d950 | 2014-01-17 03:17:40 +0000 | [diff] [blame] | 17 | // RUN: %clang -### -c -integrated-as -Wa,-compress-debug-sections -Wno-missing-debug-compression %s 2>&1 | FileCheck --check-prefix=COMPRESS_DEBUG_QUIET %s |
| 18 | // COMPRESS_DEBUG_QUIET-NOT: warning: DWARF compression is not implemented |
| 19 | // COMPRESS_DEBUG_QUIET-NOT: warning: argument unused during compilation |
| 20 | // COMPRESS_DEBUG_QUIET: -cc1 |