summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/debug-info-self.m
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-09-12 18:42:10 +0000
committerEric Christopher <echristo@apple.com>2012-09-12 18:42:10 +0000
commit22b617fbfdd17e8cadd9c541857751ae1cb6cabb (patch)
tree0c76ca711cce733b8842129a4bd14e8a4ddc4828 /test/CodeGenObjC/debug-info-self.m
parent47fa9991c5ff7b2221801444c00006b7212fd305 (diff)
downloadclang-22b617fbfdd17e8cadd9c541857751ae1cb6cabb.tar.gz
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
Diffstat (limited to 'test/CodeGenObjC/debug-info-self.m')
-rw-r--r--test/CodeGenObjC/debug-info-self.m8
1 files changed, 2 insertions, 6 deletions
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;