Serialize TargetOptions into an AST file, and make sure that we keep
authorDouglas Gregor <dgregor@apple.com>
Tue, 16 Oct 2012 23:40:58 +0000 (23:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 16 Oct 2012 23:40:58 +0000 (23:40 +0000)
commitcb177f15e78870aff3c6aa6f6c1ec89cbc3ad2fb
tree7d3fdd251b5db1ae3ef4eccb7b9248134d9ac1c2
parent1ee635278813d0ca976d2f17688c92f8b1470851
Serialize TargetOptions into an AST file, and make sure that we keep
target options around so they can be accessed at any point (rather
than keeping them transient).

llvm-svn: 166072
13 files changed:
clang/include/clang/Basic/DiagnosticSerializationKinds.td
clang/include/clang/Basic/TargetInfo.h
clang/include/clang/Basic/TargetOptions.h
clang/include/clang/Frontend/ASTUnit.h
clang/include/clang/Frontend/CompilerInvocation.h
clang/include/clang/Serialization/ASTReader.h
clang/lib/Basic/Targets.cpp
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/PCH/target-options.c [new file with mode: 0644]
clang/test/PCH/target-options.h [new file with mode: 0644]