diff options
| author | Sergej Jaskiewicz <jaskiewiczs@icloud.com> | 2020-04-15 16:21:27 +0300 |
|---|---|---|
| committer | Sergej Jaskiewicz <jaskiewiczs@icloud.com> | 2020-05-06 01:13:18 +0300 |
| commit | 645ad5badbabdeca31de5c98ea8135c5a6e7d710 (patch) | |
| tree | badddaba3298080b00cd70867f3441df3380e64d /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | 24b4965ce65b14ead595dcc68add22ba37533207 (diff) | |
| download | llvm-645ad5badbabdeca31de5c98ea8135c5a6e7d710.zip llvm-645ad5badbabdeca31de5c98ea8135c5a6e7d710.tar.gz llvm-645ad5badbabdeca31de5c98ea8135c5a6e7d710.tar.bz2 | |
[libc++] Generate symlinks in static_test_env on the fly
Instead of storing static_test_env (with all the symlinks) in the repo,
we create it on the fly to be cross-toolchain-friendly. The primary
use case for this are Windows-hosted cross-toolchains. Windows doesn't
really have a concept of symlinks. So, when the monorepo is cloned,
those symlinks turn to ordinary text files. Previously, if we
cross-compiled libc++ for some symlink-friendly system (e. g. Linux) and
ran tests on the target system, some tests would fail. This patch makes
them pass.
Differential Revision: https://reviews.llvm.org/D78200
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
