Skip to content

Commit 6ea8a94

Browse files
committed
test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.
%llvmshlibdir should be 'bin' on Cygming. llvm-svn: 120282
1 parent abcab28 commit 6ea8a94

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

llvm/test/Analysis/Profiling/profiling-tool-chain.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
; Test the creation, reading and displaying of profile
1111
; RUX: rm -f llvmprof.out
12-
; RUX: lli -load %llvmlibsdir/profile_rt%shlibext %t2
13-
; RUX: lli -load %llvmlibsdir/profile_rt%shlibext %t2 1 2
12+
; RUX: lli -load %llvmshlibdir/profile_rt%shlibext %t2
13+
; RUX: lli -load %llvmshlibdir/profile_rt%shlibext %t2 1 2
1414
; RUX: llvm-prof -print-all-code %t1 | FileCheck --check-prefix=PROF %s
1515

1616
; Test the loaded profile also with verifier.

llvm/test/BugPoint/crash-narrowfunctiontest.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
; Test that bugpoint can narrow down the testcase to the important function
2-
; FIXME: This likely fails on windows
32
;
4-
; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
5-
; XFAIL: mingw
3+
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
4+
; REQUIRES: loadable_module
65

76
define i32 @foo() { ret i32 1 }
87

llvm/test/BugPoint/metadata.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
1+
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
22
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
3-
; XFAIL: mingw
3+
; REQUIRES: loadable_module
44

55
; Bugpoint should keep the call's metadata attached to the call.
66

llvm/test/BugPoint/remove_arguments_test.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
; FIXME: This likely fails on windows
2-
; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
1+
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
32
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
4-
; XFAIL: mingw
3+
; REQUIRES: loadable_module
54

65
; Test to make sure that arguments are removed from the function if they are
76
; unnecessary. And clean up any types that that frees up too.

llvm/test/Feature/load_module.ll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
; PR1318
2-
; RUN: opt < %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
2+
; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
33
; RUN: -disable-output |& grep Hello
4+
; REQUIRES: loadable_module
5+
; FIXME: On Cygming, it might fail without building LLVMHello manually.
46

57
@junk = global i32 0
68

0 commit comments

Comments
 (0)