[PATCH] Skip MachO scattered relocations in RuntimeDyld.

Lang Hames lhames at gmail.com
Thu Aug 8 12:35:37 PDT 2013


Hi All,

At the moment a scattered relocations will cause llvm-rtdyld to go off into
the weeds and eventually assert while trying to look up a section that
doesn't exist.

Eventually we want to handle these relocations, but in practice they often
aren't required. For example, section differences only matter if symbols
are moved relative to one another, which RuntimeDyld doesn't do.

This patch skips scattered relocations, which will unbreak some simple
llvm-rtdyld use-cases while I work on proper support.

Cheers,
Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130808/4bf9f00c/attachment.html>


More information about the llvm-commits mailing list