[PATCH] D113365: [LLD][COFF] Support GNU style == aliases

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 11:58:58 PST 2021


mstorsjo accepted this revision.
mstorsjo added a comment.
This revision is now accepted and ready to land.

This looks ok to me, but there's a couple unclear cases:

- While this works for creating an import library out of a def file only, analoguously to llvm-dlltool, one can't create similar aliases while actually linking (doing that requires a couple more tweaks in a couple places, at least).
- While this can replace some use cases of llvm-dlltool, for i386, there's nothing (yet) here that corresponds to dlltool's flag `-k`. (This is used for mingw-w64's system def files for i386, it's vital for producing the right kind of import library for stdcall functions.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113365/new/

https://reviews.llvm.org/D113365



More information about the llvm-commits mailing list