Pass -fno-dwarf2-cfi-asm and use FileCheck.

llvm-svn: 130617
This commit is contained in:
Rafael Espindola 2011-04-30 18:47:32 +00:00
parent e264187cf2
commit 6a10ed51c0
1 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S -g %s -o %t
// RUN: grep "\[InstanceVariablesEverywhereButTheInterface someString\]" %t | count 6
// RUN: %clang_cc1 -fno-dwarf2-cfi-asm -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S -g %s -o - | FileCheck %s
//CHECK: "-[InstanceVariablesEverywhereButTheInterface someString]":
//CHECK: .quad "-[InstanceVariablesEverywhereButTheInterface someString]"
//CHECK: "-[InstanceVariablesEverywhereButTheInterface someString].eh" = 0
//CHECK: .no_dead_strip "-[InstanceVariablesEverywhereButTheInterface someString].eh"
//CHECK: .ascii "-[InstanceVariablesEverywhereButTheInterface someString]"
//CHECK: .asciz "-[InstanceVariablesEverywhereButTheInterface someString]"
//rdar: //8498026