[all-commits] [llvm/llvm-project] 1a6ec9: [Arm64EC] Copy import descriptors to the EC Map (#...
Daniel Paoliello via All-commits
all-commits at lists.llvm.org
Tue Mar 12 14:11:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a6ec906fb3781c2fc98979ec37a2a76479b0b08
https://github.com/llvm/llvm-project/commit/1a6ec906fb3781c2fc98979ec37a2a76479b0b08
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/lib/Object/COFFImportFile.cpp
M llvm/test/tools/llvm-dlltool/arm64ec.test
M llvm/test/tools/llvm-lib/arm64ec-implib.test
Log Message:
-----------
[Arm64EC] Copy import descriptors to the EC Map (#84834)
As noted in <https://github.com/llvm/llvm-project/pull/78537>, MSVC
places import descriptors in both the EC and regular map - that PR moved
the descriptors to ONLY the regular map, however this causes linking
errors when linking as Arm64EC:
```
bcryptprimitives.lib(bcryptprimitives.dll) : error LNK2001: unresolved external symbol __IMPORT_DESCRIPTOR_bcryptprimitives (EC Symbol)
```
This change copies import descriptors from the regular map to the EC
map, which fixes this linking error.
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