]> granicus.if.org Git - clang/commit
Wrap clang module files in a Mach-O, ELF, or COFF container.
authorAdrian Prantl <aprantl@apple.com>
Fri, 20 Feb 2015 23:34:26 +0000 (23:34 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 20 Feb 2015 23:34:26 +0000 (23:34 +0000)
commit4d355e22e150ad96f50beed1c1ae5a5a8370c3f2
tree2980270e5e057ae79af90fa738fcae67366d07d0
parentff780299d2517c9e2bd5ce34ab59e150043ac633
Wrap clang module files in a Mach-O, ELF, or COFF container.
This is a necessary prerequisite for debugging with modules.
The .pcm files become containers that hold the serialized AST which allows
us to store debug information in the module file that can be shared by all
object files that were built importing the module.

rdar://problem/19104245

This reapplies r230044 with a fixed configure+make build and updated
dependencies. Take 2.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230089 91177308-0d34-0410-b5e6-96231b3b80d8
33 files changed:
docs/PCHInternals.rst
include/clang/CodeGen/CodeGenModuleContainer.h [new file with mode: 0644]
include/clang/Frontend/FrontendActions.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGenModuleContainer.cpp [new file with mode: 0644]
lib/Frontend/ASTUnit.cpp
lib/Frontend/CMakeLists.txt
lib/Frontend/ChainedIncludesSource.cpp
lib/Frontend/FrontendActions.cpp
lib/Frontend/MultiplexConsumer.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/CMakeLists.txt
lib/Serialization/GeneratePCH.cpp
lib/Serialization/GlobalModuleIndex.cpp
lib/Serialization/ModuleManager.cpp
test/CMakeLists.txt
test/Modules/module_container.m [new file with mode: 0644]
test/PCH/floating-literal.c
tools/arcmt-test/Makefile
tools/c-index-test/Makefile
tools/clang-check/Makefile
tools/diagtool/Makefile
tools/libclang/CMakeLists.txt
tools/libclang/Makefile
unittests/AST/Makefile
unittests/ASTMatchers/Dynamic/Makefile
unittests/ASTMatchers/Makefile
unittests/CodeGen/Makefile
unittests/Frontend/Makefile
unittests/Sema/Makefile
unittests/Tooling/Makefile