[PATCH] D130118: [1/3] [LLD] [MinGW] Implement the --exclude-symbols option
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 13:19:04 PDT 2022
mstorsjo created this revision.
mstorsjo added reviewers: rnk, mati865, jeremyd2019.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: LLVM.
This adds support for the existing GNU ld command line option, which
allows excluding individual symbols from autoexport (when linking a
DLL and no symbols are marked explicitly as dllexported).
I haven't seen this option used in the wild anywhere, but I'm
implementing it as a stepping stone for something more useful.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130118
Files:
lld/COFF/Driver.cpp
lld/COFF/MinGW.cpp
lld/COFF/MinGW.h
lld/COFF/Options.td
lld/MinGW/Driver.cpp
lld/MinGW/Options.td
lld/test/COFF/exclude-symbols.s
lld/test/MinGW/driver.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130118.445924.patch
Type: text/x-patch
Size: 4679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/478a9b09/attachment.bin>
More information about the llvm-commits
mailing list