[PATCH] D130118: [1/3] [LLD] [MinGW] Implement the --exclude-symbols option

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 08:46:10 PDT 2022


mstorsjo added inline comments.


================
Comment at: lld/COFF/Options.td:48
     "Maximum number of errors to emit before stopping (0 = no limit)">;
+def exclude_symbols  : P<"exclude-symbols", "Exclude symbols from automatic export">;
 def export  : P<"export", "Export a function">;
----------------
mati865 wrote:
> I don't have experience with MSVC tools so cannot tell but will this message be clear enough for people used to MSVC that they have to pass comma separated symbol names?
I guess I could add an `MetaVarName` to make it clearer, like in the mingw options file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130118/new/

https://reviews.llvm.org/D130118



More information about the llvm-commits mailing list