Skip to content

Commit 6c90f87

Browse files
committed
[ORC-RT] Add -num-threads=0 to testcase.
This testcase depends on stable output, which isn't guaranteed when concurrent linking is enabled (the default).
1 parent e3c8408 commit 6c90f87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler-rt/test/orc/TestCases/Generic/lazy-link.ll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
; RUN: %clang -c -o %t/bar.o %S/Inputs/bar-ret-void-weak.ll
1010
; RUN: %clang -c -o %t/baz.o %S/Inputs/baz-ret-void-hidden.ll
1111
; RUN: %clang -c -o %t/main.o %s
12-
; RUN: %llvm_jitlink -noexec -show-linked-files %t/main.o -lazy %t/foo.o \
13-
; RUN: -lazy %t/x.o -lazy %t/bar.o -lazy %t/baz.o | FileCheck %s
12+
; RUN: %llvm_jitlink -num-threads=0 -noexec -show-linked-files %t/main.o \
13+
; RUN: -lazy %t/foo.o -lazy %t/x.o -lazy %t/bar.o -lazy %t/baz.o \
14+
; RUN: | FileCheck %s
1415
;
1516
; UNSUPPORTED: system-windows
1617
; REQUIRES: target={{(arm|aarch|x86_)64.*}}

0 commit comments

Comments
 (0)