Use a snapshot of the aliasing pointers
Store the llvm::Value pointers of the AliasSet instead of the AliasSet itself. We have to be careful about changed IR when the message is generated, because the Value pointers might not exist anymore. This would render the Diagnostic invalid. For now we just assert there. Simply do not retreive a diagnostic message after the IR has changed it's not valid information anyway. llvm-svn: 215625
Loading
Please register or sign in to comment