diff options
Diffstat (limited to 'test/Driver')
-rw-r--r-- | test/Driver/clang-translation.c | 14 | ||||
-rw-r--r-- | test/Driver/flags.c | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c index fe35184..f7f8b5e 100644 --- a/test/Driver/clang-translation.c +++ b/test/Driver/clang-translation.c @@ -1,14 +1,14 @@ -// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm 2> %t.log +// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm -funwind-tables 2> %t.log // RUN: grep '"-triple" "i386-unknown-unknown"' %t.log // 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 '"-mrelocation-model" "static"' %t.log +// RUN: grep '"-mdisable-fp-elim"' %t.log +// RUN: grep '"-munwind-tables"' %t.log // RUN: grep '"-Os"' %t.log // RUN: grep '"-o" .*clang-translation.*' %t.log -// RUN: grep '"--asm-verbose"' %t.log +// RUN: grep '"-masm-verbose"' %t.log // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log -// RUN: grep '"--mcpu" "yonah"' %t.log +// RUN: grep '"-mcpu" "yonah"' %t.log // RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -o %t.s 2> %t.log -// RUN: grep '"--mcpu" "core2"' %t.log +// RUN: grep '"-mcpu" "core2"' %t.log diff --git a/test/Driver/flags.c b/test/Driver/flags.c index a324100..bc50aae 100644 --- a/test/Driver/flags.c +++ b/test/Driver/flags.c @@ -1,9 +1,9 @@ // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S -msoft-float %s 2> %t.log -// RUN: grep '"--no-implicit-float"' %t.log +// RUN: grep '"-no-implicit-float"' %t.log // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S -msoft-float -mno-soft-float %s 2> %t.log -// RUN: grep '"--no-implicit-float"' %t.log | count 0 +// RUN: grep '"-no-implicit-float"' %t.log | count 0 // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log -// RUN: grep '"--no-implicit-float"' %t.log +// RUN: grep '"-no-implicit-float"' %t.log |