summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-02-16 17:25:03 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-02-16 17:25:03 +0000
commit8c83b9b8c54fc8904e451bb8ee2c57dd304df8c9 (patch)
tree0d16a74f1409e39f2cc02a34c11c403a12d07c89 /llvm
parentc9724d9149207b6a216e27a4ece83af75234c806 (diff)
downloadbcm5719-llvm-8c83b9b8c54fc8904e451bb8ee2c57dd304df8c9.tar.gz
bcm5719-llvm-8c83b9b8c54fc8904e451bb8ee2c57dd304df8c9.zip
[ThinLTO] Fix data race in test #2
Switched to the right option (-thinlto-threads) llvm-svn: 325362
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud