summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
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
commit6a10ed51c09587b3fceba73459f6e81523384050 (patch)
tree0721fa545d8ad7361ec109e96031cac22229ea50 /clang/test/CodeGenObjC
parente264187cf2ef081e211bb4d047d30284b3e5b0cb (diff)
downloadbcm5719-llvm-6a10ed51c09587b3fceba73459f6e81523384050.tar.gz
bcm5719-llvm-6a10ed51c09587b3fceba73459f6e81523384050.zip
Pass -fno-dwarf2-cfi-asm and use FileCheck.
llvm-svn: 130617
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/debug-info-getter-name.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-getter-name.m b/clang/test/CodeGenObjC/debug-info-getter-name.m
index 0263f112aeb..0d11d668b1e 100644
--- a/clang/test/CodeGenObjC/debug-info-getter-name.m
+++ b/clang/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
OpenPOWER on IntegriCloud