OSDN Git Service

[OrcMCJIT] Fix test after r335508 causing it to fail on green dragon
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 25 Jun 2018 23:14:08 +0000 (23:14 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 25 Jun 2018 23:14:08 +0000 (23:14 +0000)
http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/46572/console

LLVM ERROR: unsupported relocation with subtraction expression, symbol
'__GLOBAL_OFFSET_TABLE_' can not be undefined in a subtraction
expression

Do the same thing as MCJIT/eh-lg-pic.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335548 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll

index 809f68f..fa497ed 100644 (file)
@@ -1,6 +1,6 @@
-; REQUIRES: cxx-shared-library
+; REQUIRES: cxx-shared-library, linux-system
 ; RUN: %lli -jit-kind=orc-mcjit -relocation-model=pic -code-model=large %s
-; XFAIL: cygwin, win32, mingw, mips-, mipsel-, i686, i386, aarch64, arm
+; XFAIL: mips-, mipsel-, i686, i386, aarch64, arm
 declare i8* @__cxa_allocate_exception(i64)
 declare void @__cxa_throw(i8*, i8*, i8*)
 declare i32 @__gxx_personality_v0(...)