[clang] [Driver] Include crt0.o in the baremetal link (PR #101258)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 18:50:15 PDT 2024


================
@@ -105,6 +109,10 @@
 // CHECK-V6M-LIBCXX-USR-SAME: "-lc++" "-lc++abi" "-lunwind"
 // CHECK-V6M-LIBCXX-USR-SAME: "-lc" "-lm" "{{[^"]*}}libclang_rt.builtins.a"
 
+// RUN: %clangxx --target=arm-none-eabi -nostartfiles -v 2>&1 \
----------------
MaskRay wrote:

`-v` without an input file doesn't print commands. `-###` ?

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


More information about the cfe-commits mailing list