[Orc] Add missing -use-orcmcjit flag to a number of Orc regression tests.
authorLang Hames <lhames@gmail.com>
Mon, 23 Mar 2015 06:02:49 +0000 (06:02 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 23 Mar 2015 06:02:49 +0000 (06:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232931 91177308-0d34-0410-b5e6-96231b3b80d8

16 files changed:
test/ExecutionEngine/OrcJIT/2003-05-06-LivenessClobber.ll
test/ExecutionEngine/OrcJIT/load-object-a.ll
test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll
test/ExecutionEngine/OrcJIT/remote/cross-module-sm-pic-a.ll
test/ExecutionEngine/OrcJIT/remote/multi-module-a.ll
test/ExecutionEngine/OrcJIT/remote/multi-module-sm-pic-a.ll
test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll
test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll
test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll
test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-data-align-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-fp-no-external-funcs-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-sm-pic.ll
test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll
test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll

index d714bf7367bc09a55b4226032f3fc512aaaae731..dbb62e0bd26c657521b0e8d00afe36430b2eee9a 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase should return with an exit code of 1.
 ;
 ; This testcase should return with an exit code of 1.
 ;
-; RUN: not %lli %s
+; RUN: not %lli -use-orcmcjit %s
 
 @test = global i64 0           ; <i64*> [#uses=1]
 
 
 @test = global i64 0           ; <i64*> [#uses=1]
 
index 080bf6cf584286e9cd7502906b86364de0af7f25..0b9509c3c887e9b83dcb4297f666447d6d9a20fd 100644 (file)
@@ -1,20 +1,20 @@
 ; This first line will generate the .o files for the next run line
 ; RUN: rm -rf %t.cachedir %t.cachedir2 %t.cachedir3
 ; RUN: mkdir -p %t.cachedir %t.cachedir2 %t.cachedir3
 ; This first line will generate the .o files for the next run line
 ; RUN: rm -rf %t.cachedir %t.cachedir2 %t.cachedir3
 ; RUN: mkdir -p %t.cachedir %t.cachedir2 %t.cachedir3
-; RUN: %lli -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
+; RUN: %lli -use-orcmcjit -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
 
 ; Collect generated objects.
 ; RUN: find %t.cachedir -type f -name 'multi-module-?.o' -exec mv -v '{}' %t.cachedir2 ';'
 
 ; This line tests MCJIT object loading
 
 ; Collect generated objects.
 ; RUN: find %t.cachedir -type f -name 'multi-module-?.o' -exec mv -v '{}' %t.cachedir2 ';'
 
 ; This line tests MCJIT object loading
-; RUN: %lli -extra-object=%t.cachedir2/multi-module-b.o -extra-object=%t.cachedir2/multi-module-c.o %s
+; RUN: %lli -use-orcmcjit -extra-object=%t.cachedir2/multi-module-b.o -extra-object=%t.cachedir2/multi-module-c.o %s
 
 ; These lines put the object files into an archive
 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-b.o
 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-c.o
 
 ; This line test MCJIT archive loading
 
 ; These lines put the object files into an archive
 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-b.o
 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-c.o
 
 ; This line test MCJIT archive loading
-; RUN: %lli -extra-archive=%t.cachedir3/load-object.a %s
+; RUN: %lli -use-orcmcjit -extra-archive=%t.cachedir3/load-object.a %s
 
 declare i32 @FB()
 
 
 declare i32 @FB()
 
index c31572361d3d41f62a3509bd4a6ce944d03b593d..cc48fd4426cdca12c52d15171af53d3d1cf0198a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 declare i32 @FB()
 
 
 declare i32 @FB()
 
index d47fc6cffbb240ec0c05f3f79d72ad895802be17..d6209d7523ae86340f4638a7d05a11cf63f907ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext -relocation-model=pic -code-model=small %s > /dev/null
+; RUN: %lli -use-orcmcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext -relocation-model=pic -code-model=small %s > /dev/null
 ; XFAIL: mips, i686, i386, arm
 
 declare i32 @FB()
 ; XFAIL: mips, i686, i386, arm
 
 declare i32 @FB()
index 0fd363b4447aa4cf5418e0127eaa455a3dcb3f86..9ae0e060dd0209770408d072c5a50457bd557eb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 declare i32 @FB()
 
 
 declare i32 @FB()
 
index d248c4b2a94ab1a12741471d6f4d4d5821e060b0..a1d4b81eb1af9cc3db71ebe38d43af39dec96e44 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext -relocation-model=pic -code-model=small %s > /dev/null
+; RUN: %lli -use-orcmcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext -relocation-model=pic -code-model=small %s > /dev/null
 ; XFAIL: mips, i686, i386, arm
 
 declare i32 @FB()
 ; XFAIL: mips, i686, i386, arm
 
 declare i32 @FB()
index 30b4dd8e7abc5a200d0a820ba28699043c44be81..3ef929bc9e95ae1656554925ac67176e10c048bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 define i32 @bar() nounwind {
        ret i32 0
 
 define i32 @bar() nounwind {
        ret i32 0
index a834ac5c9850fcee7c76f9a8f955cb1e7789b74c..895e0d9de2f25c689c05653c81847762cf0336ff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
 ; XFAIL: *
 ; This test should fail until remote symbol resolution is supported.
 
 ; XFAIL: *
 ; This test should fail until remote symbol resolution is supported.
 
index 62e89cad332d47b85af2e1c067b6add5b3598472..ef1e5ef003faf3b6aa5e19e5d95a9ec416ad9381 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
 ; XFAIL: *
 ; This function should fail until remote symbol resolution is supported.
 
 ; XFAIL: *
 ; This function should fail until remote symbol resolution is supported.
 
index fb7750adf497ecc50da27338dfc49fe4f6256caa..444339550ae608af79a80828a4ea8c94496df012 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
 
 ; The intention of this test is to verify that symbols mapped to COMMON in ELF
 ; work as expected.
 
 ; The intention of this test is to verify that symbols mapped to COMMON in ELF
 ; work as expected.
index 435c21a4a9fa92cf317d140b06642b004fe37047..768729b0999148c5298fcb02bb2d946f9da1ceb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN:  %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; RUN:  %lli -use-orcmcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
 
 ; Check that a variable is always aligned as specified.
 
 
 ; Check that a variable is always aligned as specified.
 
index 6134b8b246418f7fd759f026c562a60ad4e806d2..5c1be7669c60753f0a8d0a73d8d6ad98dc95d859 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 define double @test(double* %DP, double %Arg) nounwind {
        %D = load double, double* %DP           ; <double> [#uses=1]
 
 define double @test(double* %DP, double %Arg) nounwind {
        %D = load double, double* %DP           ; <double> [#uses=1]
index 5b7999c067e443a9beedf3672cfb70a7ae866dc7..683263dee3b759e7015ba6469d044742a8603f7f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 @count = global i32 1, align 4
 
 
 @count = global i32 1, align 4
 
index f9184b4077bbcfd406f88ba9eb21741d7de89961..251cef40c5214bbf14be81aa21faa99ce0ee67c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -relocation-model=pic -code-model=small %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -relocation-model=pic -code-model=small %s > /dev/null
 ; XFAIL: mips, aarch64, arm, i686, i386
 
 @count = global i32 1, align 4
 ; XFAIL: mips, aarch64, arm, i686, i386
 
 @count = global i32 1, align 4
index ad1af93ffdef0b0c8710ef7c9c24a4e6a557df99..d9fb5de225ca63843d75acd3885c491eb70c31a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
 @ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
 @ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
index d9a4faa8e6bd47867f1b9a70f1be27149c93f7dc..34cd3d5ebddca5b77a9547fc89b1176fbbc640f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -O0 -relocation-model=pic -code-model=small %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -O0 -relocation-model=pic -code-model=small %s
 ; XFAIL: mips, aarch64, arm, i686, i386
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
 ; XFAIL: mips, aarch64, arm, i686, i386
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1