From: Jim Grosbach Date: Thu, 13 Sep 2012 01:24:32 +0000 (+0000) Subject: MCJIT: Pass the i386 MachO relocation type properly. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ba9ba9f9bcb8e627ff9cc4bd11904db21762e5a2;p=oota-llvm.git MCJIT: Pass the i386 MachO relocation type properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163763 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp index 0e3a9d4af50..73fbda4ab66 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp @@ -57,7 +57,7 @@ void RuntimeDyldMachO::resolveRelocation(uint8_t *LocalAddress, FinalAddress, (uintptr_t)Value, isPCRel, - Type, + MachoType, Size, Addend); break;