r208014 - ObjC IVars aren't added when the type isn't emitted after the interface extension
David Blaikie
dblaikie at gmail.com
Mon May 5 16:23:50 PDT 2014
Author: dblaikie
Date: Mon May 5 18:23:50 2014
New Revision: 208014
URL: http://llvm.org/viewvc/llvm-project?rev=208014&view=rev
Log:
ObjC IVars aren't added when the type isn't emitted after the interface extension
Modified:
cfe/trunk/test/CodeGenObjC/debug-info-ivars-indirect.m
Modified: cfe/trunk/test/CodeGenObjC/debug-info-ivars-indirect.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-ivars-indirect.m?rev=208014&r1=208013&r2=208014&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-ivars-indirect.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-ivars-indirect.m Mon May 5 18:23:50 2014
@@ -29,4 +29,18 @@ void gorf (struct S* s) {
int _b = s->i->b;
}
-// CHECK: {{.*}} [ DW_TAG_member ] [b] [line 24, size 32, align 32, offset 0] [from int]
+// CHECK: ; [ DW_TAG_member ] [b]
+
+I *source();
+
+ at interface I()
+{
+ @public int c;
+}
+ at end
+
+// CHECK: ; [ DW_TAG_member ] [c]
+
+void use() {
+ int _c = source()->c;
+}
More information about the cfe-commits
mailing list