[lld] [llvm] [llvm-dlltool] Fix renamed imports without a separate regular import entry (PR #98229)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 14:05:50 PDT 2024


mstorsjo wrote:

Thanks!

FWIW, we (or I) should probably look into adding support for the EXPORTAS name type in ld.bfd - ld.bfd does support linking against short import libraries. In practice, these cases of renames are only used in the base mingw-w64-crt import libraries, and ld.bfd can't link against them as things stand anyway (it fails with the use of weak aliases for renames), so taking this into use here shouldn't make anything worse wrt compatibility there anyway.

https://github.com/llvm/llvm-project/pull/98229


More information about the llvm-commits mailing list