From 8c83b9b8c54fc8904e451bb8ee2c57dd304df8c9 Mon Sep 17 00:00:00 2001 From: Eugene Leviant Date: Fri, 16 Feb 2018 17:25:03 +0000 Subject: [ThinLTO] Fix data race in test #2 Switched to the right option (-thinlto-threads) llvm-svn: 325362 --- llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Transforms') diff --git a/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll b/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll index 869a01b405d..3044964f33c 100644 --- a/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll +++ b/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll @@ -6,7 +6,7 @@ ; Test to make sure importing and dead stripping works in the ; case where the target is a local function that also indirectly calls itself. -; RUN: llvm-lto2 run -thread-model=single -save-temps -o %t3 %t.bc %t2.bc -r %t.bc,fptr,plx -r %t.bc,main,plx -r %t2.bc,_Z6updatei,pl -r %t2.bc,fptr,l -print-imports 2>&1 | FileCheck %s --check-prefix=IMPORTS +; RUN: llvm-lto2 run -thinlto-threads=1 -save-temps -o %t3 %t.bc %t2.bc -r %t.bc,fptr,plx -r %t.bc,main,plx -r %t2.bc,_Z6updatei,pl -r %t2.bc,fptr,l -print-imports 2>&1 | FileCheck %s --check-prefix=IMPORTS ; Make sure we import the promted indirectly called target ; IMPORTS: Import _ZL3foov.llvm.0 -- cgit v1.2.3