[PATCH] Add Exported flag.

Lang Hames lhames at gmail.com
Wed Jan 14 16:15:27 PST 2015


Hi All,

The attached patch adds an "SF_Exported" flag to libObject Symbols. The new
Orc JIT infrastructure relies on this to correctly resolve symbols for TUs
that have been broken up.

This patch is based on work by Anthony Pesch - thanks Anthony!

No test case - None of the command-line tools query this flag, and there
are no libObject unit tests yet. (Perhaps we should discuss adding some -
we just need to figure out the most reasonable way to construct the
ObjectFile instances). This can be tested indirectly by a simple Orc
regression test once Orc is in tree: Have two "static foo" functions in
different modules and verify that calls to them resolve correctly.

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


More information about the llvm-commits mailing list