summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename DescriptionString -> DataLayoutString as it matches the actualEric Christopher2015-08-051-4/+4
| | | | | | use of the string. llvm-svn: 244178
* LLVM API Change: the Module always owns the DataLayoutMehdi Amini2015-07-241-3/+2
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 243115
* Make the clang module container format selectable from the command line.Adrian Prantl2015-07-171-2/+2
| | | | | | | | | | | | | - introduces a new cc1 option -fmodule-format=[raw,obj] with 'raw' being the default - supports arbitrary module container formats that libclang is agnostic to - adds the format to the module hash to avoid collisions - splits the old PCHContainerOperations into PCHContainerWriter and a PCHContainerReader. Thanks to Richard Smith for reviewing this patch! llvm-svn: 242499
* Rename ModuleContainerGenerator to PCHContainergenerator for consistencyAdrian Prantl2015-07-091-28/+29
| | | | | | and re-clang-format (NFC). llvm-svn: 241841
* Revert "Revert r241620 and follow-up commits" and move the initializationAdrian Prantl2015-07-081-0/+192
| | | | | | of the llvm targets from clang/CodeGen into ClangCheck.cpp and CIndex.cpp. llvm-svn: 241653
* Revert r241620 and follow-up commits while investigating linux buildbot ↵Adrian Prantl2015-07-071-199/+0
| | | | | | failures. llvm-svn: 241642
* Cleanup: Use the C++ API to initialize the backend.Adrian Prantl2015-07-071-4/+5
| | | | llvm-svn: 241635
* Wrap clang modules and pch files in an object file container.Adrian Prantl2015-07-071-0/+198
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 llvm-svn: 241620
OpenPOWER on IntegriCloud