[PATCH] Add Exported flag.

Lang Hames lhames at gmail.com
Wed Jan 14 16:52:20 PST 2015


There's no pleasing some people. ;)

- Lang.



On Wed, Jan 14, 2015 at 4:40 PM, David Blaikie <dblaikie at gmail.com> wrote:

> If complain about the lack of tests, but this is lacking the entire patch
> (forgot to add the attachment) ;)
> On Jan 14, 2015 4:18 PM, "Lang Hames" <lhames at gmail.com> wrote:
>
>> 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.
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150114/b9cbdda7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AddExportedSymbolFlag.patch
Type: application/octet-stream
Size: 2415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150114/b9cbdda7/attachment.obj>


More information about the llvm-commits mailing list