Skip to content

Commit 68b2eda

Browse files
committed
Add -rtlib=compiler-rt to tests in baremetal.cpp
1 parent f4170d8 commit 68b2eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/baremetal.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@
163163
// RUN: | FileCheck %s --check-prefix=CHECK-RTLIB-GCC
164164
// CHECK-RTLIB-GCC: -lgcc
165165

166-
// RUN: %clang -### --target=arm-none-eabi -nolibc %s 2>&1 \
166+
// RUN: %clang -### --target=arm-none-eabi -nolibc -rtlib=compiler-rt %s 2>&1 \
167167
// RUN: | FileCheck %s --check-prefix=CHECK-NOLIBC
168168
// CHECK-NOLIBC-NOT: "-lc"
169169
// CHECK-NOLIBC: "{{[^"]*}}libclang_rt.builtins.a"
170170

171-
// RUN: %clang -### --target=arm-none-eabi -nostdlib %s 2>&1 \
171+
// RUN: %clang -### --target=arm-none-eabi -nostdlib -rtlib=compiler-rt %s 2>&1 \
172172
// RUN: | FileCheck %s --check-prefix=CHECK-NOSTDLIB
173173
// CHECK-NOSTDLIB-NOT: "-lc"
174174
// CHECK-NOSTDLIB-NOT: "{{[^"]*}}libclang_rt.builtins.a"

0 commit comments

Comments
 (0)