blob: e0b9e3ada6ecb98312ced267e64693738e1274ab [file] [log] [blame]
Daniel Dunbar025f80d2009-07-25 11:27:37 +00001// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm 2> %t.log &&
Daniel Dunbaraf07f932009-03-31 17:35:15 +00002// RUN: grep '"-triple" "i386-unknown-unknown"' %t.log &&
Daniel Dunbar5697aa02009-03-18 23:39:35 +00003// 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 &&
Daniel Dunbar772a5e52009-07-25 09:01:12 +000010// RUN: grep '"-o" .*clang-translation.*' %t.log &&
Daniel Dunbarb3fd5002009-03-24 17:59:06 +000011// RUN: grep '"--asm-verbose"' %t.log &&
Daniel Dunbar025f80d2009-07-25 11:27:37 +000012// RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log &&
Daniel Dunbar500aec42009-05-06 04:58:14 +000013// RUN: grep '"--mcpu=yonah"' %t.log &&
Daniel Dunbar025f80d2009-07-25 11:27:37 +000014// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log &&
Daniel Dunbar868bd0a2009-05-06 03:16:41 +000015// RUN: grep '"--mcpu=core2"' %t.log &&
Daniel Dunbar5697aa02009-03-18 23:39:35 +000016// RUN: true