File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 143143// RUN: | FileCheck %s --check-prefix=CHECK-RTLIB-GCC
144144// CHECK-RTLIB-GCC: -lgcc
145145
146+ // RUN: %clang -### --target=arm-none-eabi -nolibc %s 2>&1 \
147+ // RUN: | FileCheck %s --check-prefix=CHECK-NOLIBC
148+ // CHECK-NOLIBC-NOT: "-lc"
149+ // CHECK-NOLIBC-NOT: "-lm"
150+ // CHECK-NOLIBC-NOT: "-lc++"
151+ // CHECK-NOLIBC: "{{[^"]*}}libclang_rt.builtins.a"
152+
153+ // RUN: %clang -### --target=arm-none-eabi -nostdlib %s 2>&1 \
154+ // RUN: | FileCheck %s --check-prefix=CHECK-NOSTDLIB
155+ // CHECK-NOSTDLIB-NOT: "-lc"
156+ // CHECK-NOSTDLIB-NOT: "-lm"
157+ // CHECK-NOSTDLIB-NOT: "-lc++"
158+ // CHECK-NOSTDLIB-NOT: "{{[^"]*}}libclang_rt.builtins.a"
159+
146160// RUN: %clang -### --target=arm-none-eabi -v %s 2>&1 \
147161// RUN: | FileCheck %s --check-prefix=CHECK-SYSROOT-INC
148162// CHECK-SYSROOT-INC-NOT: "-internal-isystem" "include"
You can’t perform that action at this time.
0 commit comments