Fix assertion failure on DeferredDeclsToEmit.
The assertion failure will be raised by TryEmitDefinitionAsAlias() because it will call Entry->replaceAllUsesWith(Alias) and Entry might be hold by the AssertingVH, which will become a dangling pointer after RAUW. This commit fixes the problem by replacing AssertingVH with TrackingVH.
Loading
Please sign in to comment