================ @@ -1384,10 +1384,10 @@ void ASTWriter::WriteControlBlock(Preprocessor &PP, ASTContext &Context, SmallVector<FileEntryRef, 1> ModMaps(AdditionalModMaps->begin(), AdditionalModMaps->end()); llvm::sort(ModMaps, [](FileEntryRef A, FileEntryRef B) { - return A.getName() < B.getName(); + return A.getNameAsRequested() < B.getNameAsRequested(); }); for (FileEntryRef F : ModMaps) - AddPath(F.getName(), Record); + AddPath(F.getNameAsRequested(), Record); ---------------- benlangmuir wrote:
How does this relate to the header search part of the change? https://github.com/llvm/llvm-project/pull/68957 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits