llvm-project/clang/lib/Serialization
Argyrios Kyrtzidis bd0b651bd2 [PCH/Modules] Check that the specific module cache path the PCH was built with, is the same as
the one in the current compiler invocation. If they differ reject the PCH.

This protects against the badness occurring from getting modules loaded from different module caches (see crashes).

rdar://19889860

llvm-svn: 229909
2015-02-19 20:12:20 +00:00
..
ASTCommon.cpp [modules] Treat friend declarations that are lexically within a dependent 2015-02-07 03:11:11 +00:00
ASTCommon.h [modules] Treat friend declarations that are lexically within a dependent 2015-02-07 03:11:11 +00:00
ASTReader.cpp [PCH/Modules] Check that the specific module cache path the PCH was built with, is the same as 2015-02-19 20:12:20 +00:00
ASTReaderDecl.cpp Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; Clang edition. 2015-02-15 22:54:08 +00:00
ASTReaderInternals.h Objective-C: Serialize "more than one decl" state of ObjCMethodList. 2014-12-27 22:14:15 +00:00
ASTReaderStmt.cpp Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +00:00
ASTWriter.cpp [PCH/Modules] Check that the specific module cache path the PCH was built with, is the same as 2015-02-19 20:12:20 +00:00
ASTWriterDecl.cpp [modules] Treat friend declarations that are lexically within a dependent 2015-02-07 03:11:11 +00:00
ASTWriterStmt.cpp Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
GeneratePCH.cpp [C++11] Use 'nullptr'. Serialization edition. 2014-05-22 05:54:18 +00:00
GlobalModuleIndex.cpp Simplify code a bit by passing StreamFile to the BitstreamCursor constructor. 2014-11-12 14:42:25 +00:00
Makefile
Module.cpp Add a "signature" to AST files to verify that they haven't changed 2014-10-23 18:05:36 +00:00
ModuleManager.cpp [modules] When explicitly importing a module, it's fine for the imported module 2014-11-21 05:37:20 +00:00