[all-commits] [llvm/llvm-project] a8cb39: Make sure a module file with errors produced via '...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Mon Feb 8 16:11:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8cb39bab04c317c9886ec3a332f3b70ce27ae4f
      https://github.com/llvm/llvm-project/commit/a8cb39bab04c317c9886ec3a332f3b70ce27ae4f
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/test/Modules/load-module-with-errors.m

  Log Message:
  -----------
  Make sure a module file with errors produced via '-fallow-pcm-with-compiler-errors' can be loaded when using implicit modules

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

Differential Revision: https://reviews.llvm.org/D96246




More information about the All-commits mailing list