[lld] r207141 - [PECOFF] Define implicit symbols for exported ones.
chandlerc at google.com
Thu Apr 24 13:29:59 PDT 2014
On Thu, Apr 24, 2014 at 1:12 PM, Rui Ueyama <ruiu at google.com> wrote:
> Using __imp_ symbols locally is I think not a good coding style. One
> should just take an address using "&" operator rather than appending
> __imp_ prefix. However, there are programs in the wild that depends
> on this link.exe's behavior, so we need this feature.
I wonder if we should have a warning about this?
I also wonder whether the cause in the wild is source code being shared
between the DLL and the users of the DLL and being written "generically".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits