[PATCH] D38760: [LLD] [COFF] Add support for automatically exporting all symbols

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 12:29:28 PDT 2017


mstorsjo updated this revision to Diff 118668.
mstorsjo edited the summary of this revision.
mstorsjo added a comment.

Added more comments about this being mingw specific, changed to use a StringSet instead of a sorted vector.

Updated the commit message to indicate that this currently exports more functions than what is ideal, in case you think it's sensible to commit it in this form. GNU ld by default ignores object files in libs named libgcc, libmingw32, libmingwex, libstdc++ and a few other similar ones, and more libs to ignore can be specified with `--exclude-libs`.


https://reviews.llvm.org/D38760

Files:
  COFF/Driver.cpp
  COFF/Options.td
  test/COFF/export-all.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38760.118668.patch
Type: text/x-patch
Size: 4971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171011/e82f2fc8/attachment.bin>


More information about the llvm-commits mailing list