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:37:13 PDT 2014


Sorry, this is additional test coverage that's meant to go along with
208015. It might cause some temporary buildbot fallout since it was
committed without the rest of the change.

On Mon, May 5, 2014 at 4:23 PM, David Blaikie <dblaikie at gmail.com> wrote:
> 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;
> +}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list