riccibruno added a comment.

> Yes, I think that my patch just traded-off a bug for another bug. What about 
> the following instead:
> 
> Initially zero the `Stmt *` for the body, then when the body is needed 
> (either with `getBody` or with `children`)
>  populate it if needed from the call operator. This is what was done before 
> with `getBody`.
> 
> This preserve the benefit of having a lazily deserialized body while being a 
> simple fix.
> 
> Thoughts? Am I missing something?
> 
> If not I can cook-up a patch either tonight or tomorrow.

D83009 <https://reviews.llvm.org/D83009>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82940/new/

https://reviews.llvm.org/D82940



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to