MCJIT: Pass the i386 MachO relocation type properly.
authorJim Grosbach <grosbach@apple.com>
Thu, 13 Sep 2012 01:24:32 +0000 (01:24 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 13 Sep 2012 01:24:32 +0000 (01:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163763 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp

index 0e3a9d4af50d80953895c188ebfefcdae71aab23..73fbda4ab6634dbf85e5ccdca2dc90da4f692c36 100644 (file)
@@ -57,7 +57,7 @@ void RuntimeDyldMachO::resolveRelocation(uint8_t *LocalAddress,
                           FinalAddress,
                           (uintptr_t)Value,
                           isPCRel,
-                          Type,
+                          MachoType,
                           Size,
                           Addend);
     break;