[llvm] r359169 - [JITLink] Make the JITLink MachO/x86-64 eh-frame test work on Windows.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 24 22:24:41 PDT 2019
Author: lhames
Date: Wed Apr 24 22:24:40 2019
New Revision: 359169
URL: http://llvm.org/viewvc/llvm-project?rev=359169&view=rev
Log:
[JITLink] Make the JITLink MachO/x86-64 eh-frame test work on Windows.
This should fix the MachO/x86-64 eh-frame regression test by ensuring that
the symbols __ZTIi and ___gxx_personality_v0 are defined on all platforms.
Modified:
llvm/trunk/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test
Modified: llvm/trunk/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test?rev=359169&r1=359168&r2=359169&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test (original)
+++ llvm/trunk/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test Wed Apr 24 22:24:40 2019
@@ -1,9 +1,4 @@
-# RUN: llvm-jitlink -noexec %S/Inputs/MachO_x86-64_ehframe.o
-#
-# FIXME: Produces these errors:
-# JIT session error: Symbols not found: { __ZTIi, ___gxx_personality_v0 }
-# llvm-jitlink.exe: Failed to materialize symbols: { biz, _main, baz }
-# XFAIL: windows-msvc
+# RUN: llvm-jitlink -noexec -define-abs __ZTIi=0x1 -define-abs ___gxx_personality_v0=0x2 %S/Inputs/MachO_x86-64_ehframe.o
#
# Perform a no-exec link of MachO_x86-64_ehframe and verify that it does not
# generate any errors despite the last FDE referring to the first CIE (rather
More information about the llvm-commits
mailing list