[llvm] r239560 - Object: Prepend __imp_ when mangling a dllimport symbol in IRObjectFile.
Peter Collingbourne
peter at pcc.me.uk
Wed Jun 24 12:49:00 PDT 2015
On Fri, Jun 12, 2015 at 01:27:12PM +0200, Joerg Sonnenberger wrote:
> On Thu, Jun 11, 2015 at 09:42:19PM -0000, Peter Collingbourne wrote:
> > Strictly speaking we ought to emit two undefined symbols, one with __imp_ and
> > one without, as we cannot know which symbol the final object file will refer
> > to. However, this would require rather intrusive changes to IRObjectFile,
> > and lld works fine without it for now.
>
> What about link.exe or GNU ld?
This change wouldn't affect either of those linkers. IRObjectFile is used
to implement LTO, and is not involved in regular object file emission.
Thanks,
--
Peter
More information about the llvm-commits
mailing list