[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.

llvm-svn: 359169
This commit is contained in:
Lang Hames 2019-04-25 05:24:40 +00:00
parent cf49aa3908
commit 64eb9a95be
1 changed files with 1 additions and 6 deletions

View File

@ -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