[lld] r218355 - [PECOFF] Exported name should match C++ mangled name

Rui Ueyama ruiu at google.com
Wed Sep 24 09:50:13 PDT 2014


On Tue, Sep 23, 2014 at 7:56 PM, Reid Kleckner <rnk at google.com> wrote:

> On Tue, Sep 23, 2014 at 7:01 PM, Rui Ueyama <ruiu at google.com> wrote:
>>
>> If "sym" is specified to be exported, the linker looks for not
>> only "sym", but also "_sym" and "?sym@@<whatever>", so that you
>> can export a C++ function without decorating it.
>>
>
> I assume link.exe supports this?  ;_;
>

Yes, at least for the module definition file. Need to double check for
/export command line option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140924/82211c99/attachment.html>


More information about the llvm-commits mailing list