> Why doesn't this apply to inline constructors? They are linkonce_odr.
Sorry, it does too. But they are also from EmitDeferred. > EmitDeferred has a fixpoint loop, though, so it could cause more calls to > the replaced alias to be emitted. > > I feel like this needs some defense against some other part of CodeGen > mangling the name for the entity you are replacing and attempting to > GetOrCreate it from the module. We already reject linkonce_odr declarations, so it should fail the verifier. Any ideas on how to assert earlier? Cheers, Rafael _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits