[PATCH] Add Exported flag.
lhames at gmail.com
Wed Jan 14 16:15:27 PST 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits