[llvm] r239560 - Object: Prepend __imp_ when mangling a dllimport symbol in IRObjectFile.

Joerg Sonnenberger joerg at britannica.bec.de
Fri Jun 12 04:27:12 PDT 2015


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?

Joerg



More information about the llvm-commits mailing list