From 6c90f87b744533d5fa44f51f92a3bbd5613b708d Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 21 Feb 2025 16:54:52 +1100 Subject: [PATCH] [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). --- compiler-rt/test/orc/TestCases/Generic/lazy-link.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler-rt/test/orc/TestCases/Generic/lazy-link.ll b/compiler-rt/test/orc/TestCases/Generic/lazy-link.ll index 1c375bcf1e62..da32703a7ab1 100644 --- a/compiler-rt/test/orc/TestCases/Generic/lazy-link.ll +++ b/compiler-rt/test/orc/TestCases/Generic/lazy-link.ll @@ -9,8 +9,9 @@ ; RUN: %clang -c -o %t/bar.o %S/Inputs/bar-ret-void-weak.ll ; RUN: %clang -c -o %t/baz.o %S/Inputs/baz-ret-void-hidden.ll ; RUN: %clang -c -o %t/main.o %s -; RUN: %llvm_jitlink -noexec -show-linked-files %t/main.o -lazy %t/foo.o \ -; RUN: -lazy %t/x.o -lazy %t/bar.o -lazy %t/baz.o | FileCheck %s +; RUN: %llvm_jitlink -num-threads=0 -noexec -show-linked-files %t/main.o \ +; RUN: -lazy %t/foo.o -lazy %t/x.o -lazy %t/bar.o -lazy %t/baz.o \ +; RUN: | FileCheck %s ; ; UNSUPPORTED: system-windows ; REQUIRES: target={{(arm|aarch|x86_)64.*}}