[all-commits] [llvm/llvm-project] e63de8: [LLD][COFF] Disallow importing DllMain from import...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Wed Jul 2 05:53:39 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e63de82d904c2364c84489894eeb81fb9c08a023
https://github.com/llvm/llvm-project/commit/e63de82d904c2364c84489894eeb81fb9c08a023
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M lld/COFF/Config.h
M lld/COFF/Driver.cpp
M lld/COFF/InputFiles.cpp
A lld/test/COFF/exported-dllmain.test
Log Message:
-----------
[LLD][COFF] Disallow importing DllMain from import libraries (#146610)
This is a workaround for
https://github.com/llvm/llvm-project/issues/82050 by skipping the `DllMain` symbol if seen in aimport library. If this situation occurs, after this commit a warning will also be displayed. The warning can be silenced with `/ignore:exporteddllmain`
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