]> granicus.if.org Git - clang/commitdiff
Pass -fno-dwarf2-cfi-asm and use FileCheck.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 30 Apr 2011 18:47:32 +0000 (18:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 30 Apr 2011 18:47:32 +0000 (18:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130617 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/debug-info-getter-name.m

index 0263f112aeb459a79031819d58e354270153f769..0d11d668b1ebcb0dc213a66d5f8526b645aee803 100644 (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