llvm.org GIT mirror llvm / 86c817e
test: Check the feature 'loadable_module' with load modules in %llvmshlibdir. %llvmshlibdir should be 'bin' on Cygming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120282 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
5 changed file(s) with 11 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
88
99 ; Test the creation, reading and displaying of profile
1010 ; RUX: rm -f llvmprof.out
11 ; RUX: lli -load %llvmlibsdir/profile_rt%shlibext %t2
12 ; RUX: lli -load %llvmlibsdir/profile_rt%shlibext %t2 1 2
11 ; RUX: lli -load %llvmshlibdir/profile_rt%shlibext %t2
12 ; RUX: lli -load %llvmshlibdir/profile_rt%shlibext %t2 1 2
1313 ; RUX: llvm-prof -print-all-code %t1 | FileCheck --check-prefix=PROF %s
1414
1515 ; Test the loaded profile also with verifier.
0 ; Test that bugpoint can narrow down the testcase to the important function
1 ; FIXME: This likely fails on windows
21 ;
3 ; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
4 ; XFAIL: mingw
2 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
3 ; REQUIRES: loadable_module
54
65 define i32 @foo() { ret i32 1 }
76
None ; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
0 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
11 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
2 ; XFAIL: mingw
2 ; REQUIRES: loadable_module
33
44 ; Bugpoint should keep the call's metadata attached to the call.
55
None ; FIXME: This likely fails on windows
1 ; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
0 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
21 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
3 ; XFAIL: mingw
2 ; REQUIRES: loadable_module
43
54 ; Test to make sure that arguments are removed from the function if they are
65 ; unnecessary. And clean up any types that that frees up too.
0 ; PR1318
1 ; RUN: opt < %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
1 ; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
22 ; RUN: -disable-output |& grep Hello
3 ; REQUIRES: loadable_module
4 ; FIXME: On Cygming, it might fail without building LLVMHello manually.
35
46 @junk = global i32 0
57