aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-06-02 14:07:14 +0200
committerJan Svoboda <jan_svoboda@apple.com>2021-06-04 14:45:18 +0200
commit93a058190cc67c18bf4e0af9d871d56106b80a49 (patch)
tree5811260a37daa5227913328fa282dd170bd8b23d /flang/lib/Frontend/CompilerInvocation.cpp
parentcd093cbb115a4fda1544a789e3b1355e5b155aea (diff)
downloadllvm-93a058190cc67c18bf4e0af9d871d56106b80a49.zip
llvm-93a058190cc67c18bf4e0af9d871d56106b80a49.tar.gz
llvm-93a058190cc67c18bf4e0af9d871d56106b80a49.tar.bz2
[clang][deps] Add argument for customizing PCM paths
Dependency scanning currently performs an implicit build. When testing that Clang can build modules with the command-lines generated by `clang-scan-deps`, the actual compilation would overwrite artifacts created during the scan, which makes debugging harder than it should be and can lead to errors in multi-step builds. To prevent this, this patch adds new flag to `clang-scan-deps` that allows developers to customize the directory to use when generating module map paths, instead of always using the module cache. Moreover, the explicit context hash in now part of the PCM path, which will be useful in D102488, where the context hash can change due to command-line pruning. Reviewed By: Bigcheese Differential Revision: https://reviews.llvm.org/D103516
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions