Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 1 | // RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm 2> %t.log |
| 2 | // RUN: grep '"-triple" "i386-unknown-unknown"' %t.log |
| 3 | // RUN: grep '"-S"' %t.log |
| 4 | // RUN: grep '"-disable-free"' %t.log |
| 5 | // RUN: grep '"--relocation-model" "static"' %t.log |
| 6 | // RUN: grep '"--disable-fp-elim"' %t.log |
| 7 | // RUN: grep '"--unwind-tables=0"' %t.log |
| 8 | // RUN: grep '"--fmath-errno=1"' %t.log |
| 9 | // RUN: grep '"-Os"' %t.log |
| 10 | // RUN: grep '"-o" .*clang-translation.*' %t.log |
| 11 | // RUN: grep '"--asm-verbose"' %t.log |
| 12 | // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log |
Daniel Dunbar | f86fedd | 2009-11-14 22:04:54 +0000 | [diff] [blame] | 13 | // RUN: grep '"--mcpu" "yonah"' %t.log |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 14 | // RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log |
Daniel Dunbar | f86fedd | 2009-11-14 22:04:54 +0000 | [diff] [blame] | 15 | // RUN: grep '"--mcpu" "core2"' %t.log |