blob: 75578f3a0041d75d51e85c9ae7119514babf6c11 [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
Daniel Dunbar66861e02009-11-20 22:21:36 +00005// RUN: grep '"-relocation-model" "static"' %t.log
6// RUN: grep '"-disable-fp-elim"' %t.log
7// RUN: grep '"-unwind-tables=0"' %t.log
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00008// RUN: grep '"-Os"' %t.log
9// RUN: grep '"-o" .*clang-translation.*' %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +000010// RUN: grep '"-asm-verbose"' %t.log
Daniel Dunbar4fcfde42009-11-08 01:45:36 +000011// RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +000012// RUN: grep '"-mcpu" "yonah"' %t.log
Daniel Dunbar4fcfde42009-11-08 01:45:36 +000013// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +000014// RUN: grep '"-mcpu" "core2"' %t.log