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 |
Daniel Dunbar | 66861e0 | 2009-11-20 22:21:36 +0000 | [diff] [blame^] | 5 | // RUN: grep '"-relocation-model" "static"' %t.log |
| 6 | // RUN: grep '"-disable-fp-elim"' %t.log |
| 7 | // RUN: grep '"-unwind-tables=0"' %t.log |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 8 | // RUN: grep '"-Os"' %t.log |
| 9 | // RUN: grep '"-o" .*clang-translation.*' %t.log |
Daniel Dunbar | 66861e0 | 2009-11-20 22:21:36 +0000 | [diff] [blame^] | 10 | // RUN: grep '"-asm-verbose"' %t.log |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 11 | // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log |
Daniel Dunbar | 66861e0 | 2009-11-20 22:21:36 +0000 | [diff] [blame^] | 12 | // RUN: grep '"-mcpu" "yonah"' %t.log |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 13 | // RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log |
Daniel Dunbar | 66861e0 | 2009-11-20 22:21:36 +0000 | [diff] [blame^] | 14 | // RUN: grep '"-mcpu" "core2"' %t.log |