Wrap clang modules and pch files in an object file container.

Description

Wrap clang modules and pch files in an object file container.
This patch adds ObjectFilePCHContainerOperations uses the LLVM backend
to put the contents of a PCH into a __clangast section inside a COFF, ELF,
or Mach-O object file container.

This is done to facilitate module debugging by makeing it possible to
store the debug info for the types defined by a module alongside the AST.

rdar://problem/20091852

Details

Committed
adrianJul 7 2015, 1:11 PM
Parents
rL241619: Add CHECK lines to test case
Branches
Unknown
Tags
Unknown