2009-07-25 15:27:37 +04:00
|
|
|
// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm 2> %t.log &&
|
2009-03-31 21:35:15 +04:00
|
|
|
// RUN: grep '"-triple" "i386-unknown-unknown"' %t.log &&
|
2009-03-19 02:39:35 +03:00
|
|
|
// RUN: grep '"-S"' %t.log &&
|
|
|
|
// RUN: grep '"-disable-free"' %t.log &&
|
|
|
|
// RUN: grep '"--relocation-model" "static"' %t.log &&
|
|
|
|
// RUN: grep '"--disable-fp-elim"' %t.log &&
|
|
|
|
// RUN: grep '"--unwind-tables=0"' %t.log &&
|
|
|
|
// RUN: grep '"--fmath-errno=1"' %t.log &&
|
|
|
|
// RUN: grep '"-Os"' %t.log &&
|
2009-07-25 13:01:12 +04:00
|
|
|
// RUN: grep '"-o" .*clang-translation.*' %t.log &&
|
2009-03-24 20:59:06 +03:00
|
|
|
// RUN: grep '"--asm-verbose"' %t.log &&
|
2009-07-25 15:27:37 +04:00
|
|
|
// RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log &&
|
2009-05-06 08:58:14 +04:00
|
|
|
// RUN: grep '"--mcpu=yonah"' %t.log &&
|
2009-07-25 15:27:37 +04:00
|
|
|
// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log &&
|
2009-05-06 07:16:41 +04:00
|
|
|
// RUN: grep '"--mcpu=core2"' %t.log &&
|
2009-03-19 02:39:35 +03:00
|
|
|
// RUN: true
|