llvm.org GIT mirror llvm / 5868b12
llvm/test/ExecutionEngine/MCJIT/load-object-a.ll: Put together rm(1) and mkdir(1) at the top. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199077 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
1 changed file(s) with 2 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
0 ; This first line will generate the .o files for the next run line
1 ; RUN: rm -rf %t.cachedir
2 ; RUN: mkdir -p %t.cachedir
1 ; RUN: rm -rf %t.cachedir %t.cachedir2 %t.cachedir3
2 ; RUN: mkdir -p %t.cachedir %t.cachedir2 %t.cachedir3
33 ; RUN: %lli_mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -enable-cache-manager -object-cache-dir=%t.cachedir %s
44
55 ; Collect generated objects.
6 ; RUN: rm -rf %t.cachedir2
7 ; RUN: mkdir -p %t.cachedir2
86 ; RUN: find %t.cachedir -type f -name 'multi-module-?.o' -exec mv -v '{}' %t.cachedir2 ';'
97
108 ; This line tests MCJIT object loading
119 ; RUN: %lli_mcjit -extra-object=%t.cachedir2/multi-module-b.o -extra-object=%t.cachedir2/multi-module-c.o %s
12
13 ; RUN: rm -rf %t.cachedir3
14 ; RUN: mkdir -p %t.cachedir3
1510
1611 ; These lines put the object files into an archive
1712 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-b.o