[clang] [Driver] Improve error when a compiler-rt library is not found (PR #81037)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 09:33:40 PST 2024


================
@@ -44,9 +43,8 @@
 // CHECK-V6M-DEFAULTCXX: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
 // CHECK-V6M-DEFAULTCXX: ld{{(.exe)?}}" "{{.*}}.o" "-Bstatic" "-EL"
 // CHECK-V6M-DEFAULTCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}Inputs{{[/\\]+}}baremetal_arm{{[/\\]+}}lib"
-// CHECK-V6M-DEFAULTCXX-SAME: "-L[[RESOURCE_DIR]]{{[/\\]+}}lib{{[/\\]+}}baremetal"
 // CHECK-V6M-DEFAULTCXX-SAME: "-lc++" "-lc++abi" "-lunwind"
-// CHECK-V6M-DEFAULTCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m" "--target2=rel" "-o" "a.out"
----------------
jroelofs wrote:

I'm not as worried about the `-L` as I am the rename `"-lclang_rt.builtins-armv6m"` -> `"-lclang_rt.builtins"` and that being consistent with the layout that the build system sets up.

https://github.com/llvm/llvm-project/pull/81037


More information about the cfe-commits mailing list