[PATCH] D27689: Module: hash the pcm content and use it as SIGNATURE for implicit modules.

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 6 10:36:27 PST 2017


dexonsmith updated this revision to Diff 87256.
dexonsmith added a comment.

Rebased past r293123, which filled in diagnostic pragma records for modules.  I've moved the DIAG_PRAGMA_MAPPINGS to the unhashed block, as suggested by Richard, so the tests now pass.

Richard, can you take a look?


https://reviews.llvm.org/D27689

Files:
  clang/include/clang/AST/ExternalASTSource.h
  clang/include/clang/Basic/Module.h
  clang/include/clang/Driver/CC1Options.td
  clang/include/clang/Frontend/PCHContainerOperations.h
  clang/include/clang/Lex/HeaderSearchOptions.h
  clang/include/clang/Serialization/ASTBitCodes.h
  clang/include/clang/Serialization/ASTReader.h
  clang/include/clang/Serialization/ASTWriter.h
  clang/include/clang/Serialization/Module.h
  clang/lib/Basic/Module.cpp
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  clang/lib/Frontend/ASTUnit.cpp
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTWriter.cpp
  clang/lib/Serialization/GeneratePCH.cpp
  clang/lib/Serialization/GlobalModuleIndex.cpp
  clang/test/Modules/diagnostic-options-out-of-date.m
  clang/test/Modules/module_file_info.m
  clang/test/Modules/rebuild.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27689.87256.patch
Type: text/x-patch
Size: 51471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170206/67754ccb/attachment-0001.bin>


More information about the cfe-commits mailing list