================ @@ -6152,6 +6196,9 @@ ASTFileSignature ASTWriter::WriteASTCore(Sema *SemaPtr, StringRef isysroot, // Write the control block WriteControlBlock(*PP, isysroot); + // Import locations in the control block must remain local, so start rewriting + // only after it has been written. + ControlBlockWritten = true; ---------------- ayokunle321 wrote:
Right. Have moved it. https://github.com/llvm/llvm-project/pull/209795 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
