[all-commits] [llvm/llvm-project] 009f3c: [LLD][COFF] Don't dllimport from static libraries ...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Fri May 9 13:34:56 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 009f3c10d1c1be330bf420b97bdd9c5236b93923
https://github.com/llvm/llvm-project/commit/009f3c10d1c1be330bf420b97bdd9c5236b93923
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M lld/COFF/Driver.cpp
M lld/COFF/SymbolTable.cpp
M lld/COFF/SymbolTable.h
A lld/test/COFF/imports-static-lib-indirect.test
A lld/test/COFF/imports-static-lib.test
R lld/test/COFF/undefined_lazy.test
Log Message:
-----------
[LLD][COFF] Don't dllimport from static libraries (#134443)
This reverts commit 6a1bdd9 and re-instate behavior that matches what
MSVC link.exe does, that is, error out when trying to dllimport a symbol
from a static library.
A hint is now displayed in stdout, mentioning that we should rather dllimport the symbol
from a import library.
Fixes https://github.com/llvm/llvm-project/issues/131807
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