blob: c57a2b76246fa9ecbd574f67fb5b99ee11deb99e [file] [log] [blame]
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00001// 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 Dunbarf86fedd2009-11-14 22:04:54 +000013// RUN: grep '"--mcpu" "yonah"' %t.log
Daniel Dunbar4fcfde42009-11-08 01:45:36 +000014// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log
Daniel Dunbarf86fedd2009-11-14 22:04:54 +000015// RUN: grep '"--mcpu" "core2"' %t.log