Daniel Dunbar | 80737ad | 2009-12-15 22:01:24 +0000 | [diff] [blame] | 1 | // RUN: not %clang -ccc-host-triple i386-pc-linux-gnu -emit-llvm -o %t %s 2> %t.log |
Daniel Dunbar | a8304f6 | 2009-05-02 20:14:53 +0000 | [diff] [blame] | 2 | // RUN: grep 'unable to pass LLVM bit-code files to linker' %t.log |
| 3 | |
Daniel Dunbar | 73ba9a6 | 2009-12-23 00:47:42 +0000 | [diff] [blame] | 4 | // Check that -O4 is only honored as the effective -O option. |
| 5 | // <rdar://problem/7046672> clang/loader problem |
| 6 | |
| 7 | // RUN: %clang -ccc-print-phases -c -O4 -O0 %s 2> %t |
| 8 | // RUN: FileCheck --check-prefix=O4_AND_O0 %s < %t |
| 9 | |
| 10 | // O4_AND_O0: 0: input, "{{.*}}", c |
| 11 | // O4_AND_O0: 1: preprocessor, {0}, cpp-output |
| 12 | // O4_AND_O0: 2: compiler, {1}, assembler |
| 13 | // O4_AND_O0: 3: assembler, {2}, object |