[llvm] r335548 - [OrcMCJIT] Fix test after r335508 causing it to fail on green dragon

Francis Visoiu Mistrih via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 16:14:08 PDT 2018


Author: thegameg
Date: Mon Jun 25 16:14:08 2018
New Revision: 335548

URL: http://llvm.org/viewvc/llvm-project?rev=335548&view=rev
Log:
[OrcMCJIT] Fix test after r335508 causing it to fail on green dragon

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.

Modified:
    llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll

Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll?rev=335548&r1=335547&r2=335548&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll Mon Jun 25 16:14:08 2018
@@ -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(...)




More information about the llvm-commits mailing list