A module with errors would be marked as out-of-date, then the compilerModule action would produce it, but due to the error it would be treated as failure and the resulting PCM would not get used.
rdar://74087062
Paths
| Differential D96246
Make sure a module file with errors produced via '-fallow-pcm-with-compiler-errors' can be loaded when using implicit modules ClosedPublic Authored by akyrtzi on Feb 8 2021, 12:30 AM.
Details Summary A module with errors would be marked as out-of-date, then the compilerModule action would produce it, but due to the error it would be treated as failure and the resulting PCM would not get used. rdar://74087062
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 8 2021, 2:38 PM This revision was landed with ongoing or failed builds.Feb 8 2021, 4:11 PM Closed by commit rGa8cb39bab04c: Make sure a module file with errors produced via '-fallow-pcm-with-compiler… (authored by akyrtzi). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 322236 clang/include/clang/Serialization/ASTReader.h
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Serialization/ASTReader.cpp
clang/test/Modules/load-module-with-errors.m
|