[PATCH] Output debug information for structure members only referenced by a pointer or typedef

Renato Golin renato.golin at linaro.org
Wed Jun 19 06:48:56 PDT 2013


On 19 June 2013 13:34, Keith Walker <keith.walker at arm.com> wrote:

>  struct b {
> +  int j;
>  };
>

Hi Keith,

Why add the field here?


+  bool Declaration = isa<RecordType>(PointeeTy);
> +  return getOrCreateType(PointeeTy, Unit, Declaration);
>

This looks ok to me, but I haven't touched de debug info in years.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130619/f9c0ad86/attachment.html>


More information about the cfe-commits mailing list