Adding out-of-process execution support to lli.

At this time only Unix-based systems are supported.  Windows has stubs and should re-route to the simulated mode.

Thanks to Sriram Murali for contributions to this patch.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191843 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Kaylor
2013-10-02 17:12:36 +00:00
parent af7ae9d689
commit 0ab5c6c16b
22 changed files with 994 additions and 23 deletions

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit %s > /dev/null
; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
; XFAIL: mips
define i32 @bar() {

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit -disable-lazy-compilation=false %s
; RUN: %lli_mcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target %s
; XFAIL: mips
define i32 @main() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit -O0 -disable-lazy-compilation=false %s
; RUN: %lli_mcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target %s
; XFAIL: mips
; The intention of this test is to verify that symbols mapped to COMMON in ELF

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit -O0 %s
; RUN: %lli_mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target %s
; XFAIL: mips
; Check that a variable is always aligned as specified.

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit %s > /dev/null
; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
; XFAIL: mips
define double @test(double* %DP, double %Arg) {

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit %s > /dev/null
; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
; XFAIL: mips
@count = global i32 1, align 4

View File

@ -1,4 +1,4 @@
; RUN: %lli_mcjit -remote-mcjit -O0 %s
; RUN: %lli_mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target %s
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
@ptr = global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), align 4