[cfe-commits] r130617 - /cfe/trunk/test/CodeGenObjC/debug-info-getter-name.m
Rafael Espindola
rafael.espindola at gmail.com
Sat Apr 30 11:47:32 PDT 2011
Author: rafael
Date: Sat Apr 30 13:47:32 2011
New Revision: 130617
URL: http://llvm.org/viewvc/llvm-project?rev=130617&view=rev
Log:
Pass -fno-dwarf2-cfi-asm and use FileCheck.
Modified:
cfe/trunk/test/CodeGenObjC/debug-info-getter-name.m
Modified: cfe/trunk/test/CodeGenObjC/debug-info-getter-name.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-getter-name.m?rev=130617&r1=130616&r2=130617&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-getter-name.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-getter-name.m Sat Apr 30 13:47:32 2011
@@ -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
More information about the cfe-commits
mailing list