llvm-project/clang/lib/Serialization
Justin Bogner 4c18324b8b ASTReader: Treat InputFileOffsets as unaligned to avoid UB
This is a better approach to fixing the undefined behaviour I tried to
fix in r240228. This data doesn't necessarily have suitable alignment
for uint64_t, so use unaligned_uint64_t instead.

This fixes 225 test failures when clang is built with ubsan.

llvm-svn: 240247
2015-06-21 20:32:40 +00:00
..
ASTCommon.cpp Replace Sema's map of locally-scoped extern "C" declarations with a DeclContext 2015-03-07 00:04:49 +00:00
ASTCommon.h [modules] If we reach a definition of a class for which we already have a 2015-03-26 04:09:53 +00:00
ASTReader.cpp ASTReader: Treat InputFileOffsets as unaligned to avoid UB 2015-06-21 20:32:40 +00:00
ASTReaderDecl.cpp [modules] When determining whether a definition of a class is visible, check all modules even if we've already found a definition that's not visible. 2015-06-20 01:05:19 +00:00
ASTReaderInternals.h Objective-C: Serialize "more than one decl" state of ObjCMethodList. 2014-12-27 22:14:15 +00:00
ASTReaderStmt.cpp [OPENMP] Support for '#pragma omp taskgroup' directive. 2015-06-18 12:14:09 +00:00
ASTWriter.cpp [modules] Better support for redefinitions of an entity from the same module. 2015-06-15 20:15:48 +00:00
ASTWriterDecl.cpp Extend type nullability qualifiers for Objective-C. 2015-06-19 18:14:38 +00:00
ASTWriterStmt.cpp [OPENMP] Support for '#pragma omp taskgroup' directive. 2015-06-18 12:14:09 +00:00
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
GeneratePCH.cpp Introduce a PCHContainerOperations interface (NFC). 2015-06-20 18:53:08 +00:00
GlobalModuleIndex.cpp Introduce a PCHContainerOperations interface (NFC). 2015-06-20 18:53:08 +00:00
Makefile
Module.cpp [modules] Deserialize CXXCtorInitializer list for a constructor lazily. 2015-03-24 06:36:48 +00:00
ModuleManager.cpp Introduce a PCHContainerOperations interface (NFC). 2015-06-20 18:53:08 +00:00