[all-commits] [llvm/llvm-project] 2e65a4: [Driver][test] Ensure --target= for -flto commands
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Aug 2 11:57:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e65a423e277b40a885b9de8a2cbf60f2f812cd6
https://github.com/llvm/llvm-project/commit/2e65a423e277b40a885b9de8a2cbf60f2f812cd6
Author: Fangrui Song <i at maskray.me>
Date: 2023-08-02 (Wed, 02 Aug 2023)
Changed paths:
M clang/test/Driver/clang_f_opts.c
M clang/test/Driver/lto.c
Log Message:
-----------
[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.
More information about the All-commits
mailing list