aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-06-14 10:51:04 +0200
committerJan Svoboda <jan_svoboda@apple.com>2021-06-14 11:04:56 +0200
commit78668c822af9504f77a554f5924e1097365d9c33 (patch)
tree058ab6805b146662da5c79d1e0430b9aa67b9d7d /llvm/lib/CodeGen/MachineOperand.cpp
parente63f27a3cf8129cb66b8350ad50bf19633554a6b (diff)
downloadllvm-78668c822af9504f77a554f5924e1097365d9c33.zip
llvm-78668c822af9504f77a554f5924e1097365d9c33.tar.gz
llvm-78668c822af9504f77a554f5924e1097365d9c33.tar.bz2
[clang][modules][pch] Allow loading PCH with different modules cache path
It's useful to be able to load explicitly-built PCH files into an implicit build (e.g. during dependency scanning). That's currently impossible, since the explicitly-built PCH has an empty modules cache path, while the current compilation has (and needs to have) a valid path, triggering an error in the `PCHValidator`. This patch adds a preprocessor option and command-line flag that can be used to omit this check. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D103802
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions