2009-07-25 19:27:37 +08:00
|
|
|
// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm 2> %t.log &&
|
2009-04-01 01:35:15 +08:00
|
|
|
// RUN: grep '"-triple" "i386-unknown-unknown"' %t.log &&
|
2009-03-19 07:39:35 +08: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 17:01:12 +08:00
|
|
|
// RUN: grep '"-o" .*clang-translation.*' %t.log &&
|
2009-03-25 01:59:06 +08:00
|
|
|
// RUN: grep '"--asm-verbose"' %t.log &&
|
2009-07-25 19:27:37 +08:00
|
|
|
// RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log &&
|
2009-05-06 12:58:14 +08:00
|
|
|
// RUN: grep '"--mcpu=yonah"' %t.log &&
|
2009-07-25 19:27:37 +08:00
|
|
|
// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log &&
|
2009-05-06 11:16:41 +08:00
|
|
|
// RUN: grep '"--mcpu=core2"' %t.log &&
|
2009-03-19 07:39:35 +08:00
|
|
|
// RUN: true
|