[llvm-commits] [llvm] [Patch] RuntimeDyldMachO Fix relocations for 32bit Darwin
Danil Malyshev
dmalyshev at accesssoftek.com
Fri May 18 18:17:19 PDT 2012
Hi everyone,
Please review attached the patch.
The patch fixes the relocations for the Darwin 32bit.
However, the following four tests still fail, but I think it need to change the MachO writer or the MachOObjectFile class for fixing the problems was showed by these tests:
test-call.ll - the external function "exit" declared, but none of relocations for this symbol in the object file.
test-common-symbols.ll, stubs.ll, 2003-05-06-LivenessClobber.ll - this tests uses common symbols that are not correctly handled.
So, The patch enables the MCJIT tests for Darwin, but marks the four above-mentioned tests as XFAIL for 32bit darwin. This had to little changes in the LIT: enable regexp for xfails check.
Regards,
Danil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120518/9788eb28/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix_darwin32_relocations-01.patch
Type: application/octet-stream
Size: 5424 bytes
Desc: Fix_darwin32_relocations-01.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120518/9788eb28/attachment.obj>
More information about the llvm-commits
mailing list