aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-12-05 22:42:13 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-12-05 22:42:13 +0000
commit7ed1bc9eb0264e67b3d8f4cbe0044b13261820a2 (patch)
treec8efda9f9bc84931ddb1df6e4c2581a53906edff /clang/lib/Frontend/CompilerInvocation.cpp
parent76b005398dc73dc504334d8a27989392e817d6b7 (diff)
downloadllvm-7ed1bc9eb0264e67b3d8f4cbe0044b13261820a2.zip
llvm-7ed1bc9eb0264e67b3d8f4cbe0044b13261820a2.tar.gz
llvm-7ed1bc9eb0264e67b3d8f4cbe0044b13261820a2.tar.bz2
[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. This is a recommit of r223443, reverted in r223465; when joining together imported file paths, we now use the system's separator rather than always using '/'. This avoids path mismatches between the original module build and the module user on Windows (at least, in some cases). A more comprehensive fix will follow. llvm-svn: 223539
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions