diff options
author | Fangrui Song <i@maskray.me> | 2023-08-02 11:57:02 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-08-02 11:57:02 -0700 |
commit | 2e65a423e277b40a885b9de8a2cbf60f2f812cd6 (patch) | |
tree | 88efe8f44da338c2e4390c6099dfd2f0de6b0c4a /llvm/lib/CodeGen/MachineSink.cpp | |
parent | d8f9663f1a5aa0732b35e699d6a2ebe0c8f1f21e (diff) | |
download | llvm-2e65a423e277b40a885b9de8a2cbf60f2f812cd6.zip llvm-2e65a423e277b40a885b9de8a2cbf60f2f812cd6.tar.gz llvm-2e65a423e277b40a885b9de8a2cbf60f2f812cd6.tar.bz2 |
[Driver][test] Ensure --target= for -flto commands
Otherwise if the default target triple has `HasNativeLLVMSupport() ==
false`, the %clang command will exit with code 1 due to
err_drv_no_linker_llvm_support.
The issue is exposed by D156363.
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions