llvm.org GIT mirror llvm / dcd1ba6
[ThinLTO] Fix data race in test #2 Switched to the right option (-thinlto-threads) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325362 91177308-0d34-0410-b5e6-96231b3b80d8 Eugene Leviant 1 year, 7 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
66 ; Test to make sure importing and dead stripping works in the
77 ; case where the target is a local function that also indirectly calls itself.
8 ; 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
8 ; 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
99 ; Make sure we import the promted indirectly called target
1010 ; IMPORTS: Import _ZL3foov.llvm.0