[modules] Instead of storing absolute paths in a .pcm file, store the path to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 5 Dec 2014 02:33:27 +0000 (02:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 5 Dec 2014 02:33:27 +0000 (02:33 +0000)
commit1d21a07ca11b79694b4bcade1ebcef14254fb431
tree7e1144c9dee739d94bc0108e2e90f44f6db39059
parent66d7791176fef493bb4dc7fcd6929e7aab6135c6
[modules] Instead of storing absolute paths in a .pcm file, store the path to
the root of the module and use paths relative to that directory wherever
possible. This is a step towards allowing explicit modules to be relocated
without being rebuilt, which is important for some kinds of distributed builds,
for good paths in diagnostics, and for appropriate .d output.

llvm-svn: 223443
clang/include/clang/Serialization/ASTBitCodes.h
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/ASTWriter.h
clang/include/clang/Serialization/Module.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTReaderInternals.h
clang/lib/Serialization/ASTWriter.cpp