]> granicus.if.org Git - clang/commit
Introduce the notion of "Relocatable" precompiled headers, which are built
authorDouglas Gregor <dgregor@apple.com>
Tue, 7 Jul 2009 00:12:59 +0000 (00:12 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 7 Jul 2009 00:12:59 +0000 (00:12 +0000)
commite650c8c3bca2f58cad8ffa8aab63126d26e890cd
treef8457153894f31e1110b45b230a78d00a32016c0
parent169077dde4d91270a7495793f1e00b22aa0bc7ca
Introduce the notion of "Relocatable" precompiled headers, which are built
with a particular system root directory and can be used with a different
system root directory when the headers it depends on have been installed.
Relocatable precompiled headers rewrite the file names of the headers used
when generating the PCH file into the corresponding file names of the
headers available when using the PCH file.

Addresses <rdar://problem/7001604>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74885 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
docs/UsersManual.html
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Driver/Options.def
include/clang/Frontend/ASTConsumers.h
include/clang/Frontend/PCHReader.h
include/clang/Frontend/PCHWriter.h
lib/Driver/Tools.cpp
lib/Frontend/GeneratePCH.cpp
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
test/PCH/libroot/usr/include/reloc.h [new file with mode: 0644]
test/PCH/libroot/usr/include/reloc2.h [new file with mode: 0644]
test/PCH/reloc.c [new file with mode: 0644]
tools/clang-cc/clang-cc.cpp