xur added a comment. This looks fine to me. But I agree you that a more complete fix would be having CurLinkModule set for all callers.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108499/new/ https://reviews.llvm.org/D108499 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits