mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Standardizing lli's extra module command line option
llvm-svn: 193544
This commit is contained in:
parent
64bf363b8a
commit
0fb11a9ebb
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/cross-module-b.ir %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/cross-module-b.ir %s > /dev/null
|
||||
|
||||
declare i32 @FB()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/cross-module-b.ir -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/cross-module-b.ir -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; XFAIL: mips, i686, i386, aarch64, arm
|
||||
|
||||
declare i32 @FB()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/multi-module-b.ir,%p/multi-module-c.ir %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/multi-module-b.ir -extra-module=%p/multi-module-c.ir %s > /dev/null
|
||||
|
||||
declare i32 @FB()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/multi-module-eh-b.ir %s
|
||||
; RUN: %lli_mcjit -extra-module=%p/multi-module-eh-b.ir %s
|
||||
; XFAIL: arm, cygwin, win32, mingw
|
||||
declare i8* @__cxa_allocate_exception(i64)
|
||||
declare void @__cxa_throw(i8*, i8*, i8*)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/multi-module-b.ir,%p/multi-module-c.ir -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/multi-module-b.ir -extra-module=%p/multi-module-c.ir -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; XFAIL: mips, i686, i386, aarch64, arm
|
||||
|
||||
declare i32 @FB()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/cross-module-b.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/cross-module-b.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
||||
|
||||
; This fails because __main is not resolved in remote mcjit.
|
||||
; XFAIL: cygwin,mingw32
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/cross-module-b.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/cross-module-b.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; XFAIL: mips, i686, i386, aarch64, arm
|
||||
|
||||
declare i32 @FB()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/multi-module-b.ir,%p/multi-module-c.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/multi-module-b.ir -extra-module=%p/multi-module-c.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
||||
|
||||
; This fails because __main is not resolved in remote mcjit.
|
||||
; XFAIL: cygwin,mingw32
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %lli_mcjit -extra-modules=%p/multi-module-b.ir,%p/multi-module-c.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; RUN: %lli_mcjit -extra-module=%p/multi-module-b.ir -extra-module=%p/multi-module-c.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target -relocation-model=pic -code-model=small %s > /dev/null
|
||||
; XFAIL: mips, i686, i386, aarch64, arm
|
||||
|
||||
declare i32 @FB()
|
||||
|
@ -132,8 +132,7 @@ namespace {
|
||||
cl::init("main"));
|
||||
|
||||
cl::list<std::string>
|
||||
ExtraModules("extra-modules",
|
||||
cl::CommaSeparated,
|
||||
ExtraModules("extra-module",
|
||||
cl::desc("Extra modules to be loaded"),
|
||||
cl::value_desc("<input bitcode 2>,<input bitcode 3>,..."));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user