diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-10-27 10:22:52 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-10-27 10:22:52 +0000 |
commit | f61049b2d8aa19341c32b0dbe67c272b30e078d3 (patch) | |
tree | 6fc760a5d335aaa5d68410c42c50e0128d681679 /test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll | |
parent | 62d66cbec5b2d4e00e86457762df0127ae234e6f (diff) | |
download | llvm-f61049b2d8aa19341c32b0dbe67c272b30e078d3.tar.gz llvm-f61049b2d8aa19341c32b0dbe67c272b30e078d3.tar.bz2 llvm-f61049b2d8aa19341c32b0dbe67c272b30e078d3.tar.xz |
MCJIT-remote: __main should be resolved in child context.
- Mark tests as XFAIL:cygming in test/ExecutionEngine/MCJIT/remote.
Rather to suppress them, I'd like to leave them running as XFAIL.
- Revert r193472. RecordMemoryManager no longer resolves __main on cygming.
There are a couple of issues.
- X86 Codegen emits "call __main" in @main for targeting cygming.
It is useless in JIT. FYI, tests are passing when emitting __main is disabled.
- Current remote JIT does not resolve any symbols in child context.
FIXME: __main should be disabled, or remote JIT should resolve __main.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll')
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll b/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll index 8b562972b5..3b542c39b1 100644 --- a/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll @@ -1,5 +1,8 @@ ; RUN: %lli_mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target %s +; This fails because __main is not resolved in remote mcjit. +; XFAIL: cygwin,mingw32 + @.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 @.str1 = private unnamed_addr constant [6 x i8] c"data2\00", align 1 |