PATCH: private ivars

Adrian Prantl aprantl at apple.com
Mon Feb 18 14:52:13 PST 2013


On Feb 15, 2013, at 5:34 PM, jahanian <fjahanian at apple.com> wrote:

> Thanks for the explanation Adrian. Have you thought about the scenario that Debug info. is generated for primary class and then this routine is called for
> ivars in class extensions. There is no guarantee that debug info. for primary and all class extensions are generated all the the same time.
> This is the test case I am thinking:

Good catch. Here is an update that also includes your example (as debug-info-ivars-private-2.m). I now also disable caching of DebugInfo Types for pointers to Interfaces, which takes care of indirect uses of the interface as well (cf. debug-info-ivars-private-3.m).

-- adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: private-ivars.patch
Type: application/octet-stream
Size: 11042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130218/c672dc05/attachment.obj>


More information about the cfe-commits mailing list