We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4170d8 commit 68b2edaCopy full SHA for 68b2eda
clang/test/Driver/baremetal.cpp
@@ -163,12 +163,12 @@
163
// RUN: | FileCheck %s --check-prefix=CHECK-RTLIB-GCC
164
// CHECK-RTLIB-GCC: -lgcc
165
166
-// RUN: %clang -### --target=arm-none-eabi -nolibc %s 2>&1 \
+// RUN: %clang -### --target=arm-none-eabi -nolibc -rtlib=compiler-rt %s 2>&1 \
167
// RUN: | FileCheck %s --check-prefix=CHECK-NOLIBC
168
// CHECK-NOLIBC-NOT: "-lc"
169
// CHECK-NOLIBC: "{{[^"]*}}libclang_rt.builtins.a"
170
171
-// RUN: %clang -### --target=arm-none-eabi -nostdlib %s 2>&1 \
+// RUN: %clang -### --target=arm-none-eabi -nostdlib -rtlib=compiler-rt %s 2>&1 \
172
// RUN: | FileCheck %s --check-prefix=CHECK-NOSTDLIB
173
// CHECK-NOSTDLIB-NOT: "-lc"
174
// CHECK-NOSTDLIB-NOT: "{{[^"]*}}libclang_rt.builtins.a"
0 commit comments