From 22b617fbfdd17e8cadd9c541857751ae1cb6cabb Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 12 Sep 2012 18:42:10 +0000 Subject: Revert "Make clang emit a flag for DW_AT_object_pointer for the artificial" this should be done on the subprogram, not the variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163733 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/debug-info-self.m | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/CodeGenObjC/debug-info-self.m') diff --git a/test/CodeGenObjC/debug-info-self.m b/test/CodeGenObjC/debug-info-self.m index 48ad5ce115..9146ab3973 100644 --- a/test/CodeGenObjC/debug-info-self.m +++ b/test/CodeGenObjC/debug-info-self.m @@ -1,12 +1,8 @@ -// RUN: %clang -cc1 -emit-llvm -g %s -o - | FileCheck %s +// RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_AT_artificial | count 3 // self and _cmd are marked as DW_AT_artificial. +// abbrev code emits another DT_artificial comment. // myarg is not marked as DW_AT_artificial. -// CHECK: metadata !{i32 {{.*}}, metadata !9, metadata !"self", metadata !15, i32 16777232, metadata !30, i32 1088, i32 0} ; [ DW_TAG_arg_variable ] [self] [line 16] -// CHECK: metadata !{i32 {{.*}}, metadata !9, metadata !"_cmd", metadata !15, i32 33554448, metadata !33, i32 64, i32 0} ; [ DW_TAG_arg_variable ] [_cmd] [line 16] -// CHECK: metadata !{i32 {{.*}}, metadata !9, metadata !"myarg", metadata !6, i32 50331664, metadata !24, i32 0, i32 0} ; [ DW_TAG_arg_variable ] [myarg] [line 16] - - @interface MyClass { } - (id)init:(int) myarg; -- cgit v1.2.1