From 64eb9a95bebd577158576ba6a5c9baabf314d4c9 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Thu, 25 Apr 2019 05:24:40 +0000 Subject: [PATCH] [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 --- llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test b/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test index 5b01d03..08c616f 100644 --- a/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test +++ b/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_ehframe.test @@ -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 -- 2.7.4