[all-commits] [llvm/llvm-project] cffe11: [llvm-dlltool] Use EXPORTAS name type for renamed ...
Jacek Caban via All-commits
all-commits at lists.llvm.org
Mon Jul 22 05:13:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cffe1153f4466b1602d4778e57c3bd8663cef5ec
https://github.com/llvm/llvm-project/commit/cffe1153f4466b1602d4778e57c3bd8663cef5ec
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths:
M llvm/lib/Object/COFFImportFile.cpp
M llvm/test/tools/llvm-dlltool/arm64ec.test
Log Message:
-----------
[llvm-dlltool] Use EXPORTAS name type for renamed imports on ARM64EC. (#99346)
Renamed entries are more tricky on ARM64EC than on other targets due
to additional symbols (we need `__imp_aux_*` in addition to `__imp_*`
and both mangled and unmangled symbol thunks). While we could extend
weak aliases to add them, it seems cleaner to just always use EXPORTAS
name type on ARM64EC targets. Unlike other targets, linkers supporting
ARM64EC need to support EXPORTAS, so there is no compatibility problem
with that.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list