aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-11-11 11:50:45 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2022-11-14 19:11:34 -0800
commit17737437ed7bb4ca646020b17df822865247d193 (patch)
tree7ada7053cd43fbf2b52b90370db6b25dc68015e9 /clang/lib/Lex/ModuleMap.cpp
parenteb7d16ea25649909373e324e6ebf36774cabdbfa (diff)
downloadllvm-17737437ed7bb4ca646020b17df822865247d193.zip
llvm-17737437ed7bb4ca646020b17df822865247d193.tar.gz
llvm-17737437ed7bb4ca646020b17df822865247d193.tar.bz2
[dsymutil] Fix assertion in the Reproducer/FileCollector when TMPDIR is empty
Fix a assertion in dsymutil coming from the Reproducer/FileCollector. When TMPDIR is empty, the root becomes a relative path, triggering an assertion when adding a relative path to the VFS mapping. This patch fixes the issue by resolving the relative path and also moves the assertion up to make it easier to diagnose these issues in the future. rdar://102170986 Differential revision: https://reviews.llvm.org/D137959
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions