File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 311311// CHECK-X86_64-GCC: Found candidate GCC installation: {{.*}}i686-linux-android{{[/\\]}}4.9
312312// CHECK-X86_64-GCC-NEXT: Found candidate GCC installation: {{.*}}x86_64-linux-android{{[/\\]}}4.9
313313// CHECK-X86_64-GCC-NEXT: Selected GCC installation: {{.*}}x86_64-linux-android{{[/\\]}}4.9
314+ //
315+ // RUN: %clang -### %s 2>&1 \
316+ // RUN: --target=riscv64-linux-android \
317+ // RUN: -march=rv64i \
318+ // RUN: --gcc-toolchain=%S/Inputs/basic_android_ndk_tree \
319+ // RUN: --sysroot=%S/Inputs/basic_android_ndk_tree/sysroot \
320+ // RUN: | FileCheck --check-prefix=CHECK-RISCV %s
321+ // CHECK-RISCV: "-cc1"
322+ // CHECK-RISCV: "-internal-isystem" "{{.*}}/include/c++/v1"
323+ // CHECK-RISCV: "-internal-isystem" "{{.*}}/lib/clang/{{..}}/include"
324+ // CHECK-RISCV: "-internal-isystem" "{{.*}}/sysroot/usr/local/include"
325+ // CHECK-RISCV: "-internal-externc-isystem" "{{.*}}/sysroot/include"
326+ // CHECK-RISCV: "-internal-externc-isystem" "{{.*}}/sysroot/usr/include"
327+ // CHECK-RISCV: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
328+ // CHECK-RISCV: "-L{{.*}}/sysroot/usr/lib"
329+ // CHECK-RISCV: "{{.*}}/lib/riscv64-unknown-linux-android/libclang_rt.builtins.a"
You can’t perform that action at this time.
0 commit comments