diff options
author | Nico Weber <thakis@chromium.org> | 2021-01-27 09:19:25 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-01-27 09:19:25 -0500 |
commit | c0fc38ce1511b95a8b44918c7958b0843f6071c6 (patch) | |
tree | bdb622d04a5b4cd507e2cc22e8a7461c0bf23448 /llvm/lib/Bitcode | |
parent | 412ac0e53688364fe1295e864abd53e104eeb554 (diff) | |
download | llvm-c0fc38ce1511b95a8b44918c7958b0843f6071c6.zip llvm-c0fc38ce1511b95a8b44918c7958b0843f6071c6.tar.gz llvm-c0fc38ce1511b95a8b44918c7958b0843f6071c6.tar.bz2 |
Try to fix cl-options.c on bots were the default triple is non-x86 non-arm
llvmArchToWindowsSDKArch() returns "" for non-intel non-arm archs.
We're checking for "/fake/lib/" which is followed by the result
of that function -- but if that returns an empty string, then that
trailing slash isn't there. As fix, just explicitly pass a triple
that's intel or arm (I randomly chose aarch64). Since the test runs
with -###, that arch doesn't have to be in LLVM_TARGETS_TO_BUILD.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions