From 1b0c5faa2cd92abff653b8f63f4e762746cd54a6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 30 Apr 2011 18:47:32 +0000 Subject: [PATCH] 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 --- test/CodeGenObjC/debug-info-getter-name.m | 10 ++++++++-- 1 file 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 -- 2.50.1