aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-04-30 18:47:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-04-30 18:47:32 +0000
commit1b0c5faa2cd92abff653b8f63f4e762746cd54a6 (patch)
tree98714c77722bede430b7c96751463fee5ed52359
parentf24a151d645abc89f94aa58ad59f3131502041b1 (diff)
Pass -fno-dwarf2-cfi-asm and use FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130617 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenObjC/debug-info-getter-name.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGenObjC/debug-info-getter-name.m b/test/CodeGenObjC/debug-info-getter-name.m
index 0263f112ae..0d11d668b1 100644
--- a/test/CodeGenObjC/debug-info-getter-name.m
+++ b/test/CodeGenObjC/debug-info-getter-name.m
@@ -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