[clang] Add a testcase for riscv64-linux-android triple (PR #116892)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 09:42:19 PST 2024


================
@@ -14,7 +14,7 @@
 // CHECK: "-internal-externc-isystem" "{{.*}}/sysroot/usr/include/arm-linux-androideabi"
 // CHECK: "-internal-externc-isystem" "{{.*}}/sysroot/include"
 // CHECK: "-internal-externc-isystem" "{{.*}}/sysroot/usr/include"
-// CHECK: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
+// CHECK: "{{.*}}ld.lld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
----------------
pirama-arumuga-nainar wrote:

These should just be `ld` to match what is in `clang/test/Driver/Inputs/basic_android_ndk_tree/arm-linux-androideabi/bin/`.  @DanAlbert and I discussed whether we can assume `lld` is the default since the Android toolchain defaults to lld but that's still undecided.

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


More information about the cfe-commits mailing list