aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-01-13 18:38:09 -0800
committerJan Svoboda <jan_svoboda@apple.com>2023-01-13 18:38:11 -0800
commit347028a4d8da8aa1ae311c95424999fcd31d98cb (patch)
tree3bddb8245710e950da11c55126ff6c9ef2152bce /clang/lib/CodeGen/BackendUtil.cpp
parent277a9f6e5f85bfa1c58ca21c26a5a74326f002ff (diff)
downloadllvm-347028a4d8da8aa1ae311c95424999fcd31d98cb.zip
llvm-347028a4d8da8aa1ae311c95424999fcd31d98cb.tar.gz
llvm-347028a4d8da8aa1ae311c95424999fcd31d98cb.tar.bz2
[clang] Report the on-disk paths for inputs to module compiles
Since D135636, PCM files contain the "as requested" path of input files. The machinery for generating dependency files reports those paths as they appeared in the PCM file, which may confuse consumers that are not aware of VFS overlays that might've been in place at compile-time. This patch makes sure the "use-external-name" setting is being respected when generating dependency files in modular builds by piping the paths serialized in PCMs through `FileEntryRef::getName()` before putting them into dependency files. rdar://103459532 Reviewed By: benlangmuir Differential Revision: https://reviews.llvm.org/D141644
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions