On 4 November 2013 14:37, Reid Kleckner <r...@google.com> wrote: > How do you deal with the case where not all references to the aliased entity > have been generated yet? For example: > > Emit call to derived ctor > Emit derived ctor > RAUW derived ctor with base ctor > Emit call to derived ctor, create new declaration for it > > I attempted this before, and this is the issue I hit.
This only happens for inline destructors (they are the ones that are linkonce_odr) and they are only output once at the end of the file via EmitDeferred. Were you trying to avoid aliases in more cases maybe? Cheers, Rafael _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits