mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 09:46:46 +00:00

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
See docs/NewLLD.rst