[COFF] Don't do autoexport of symbols from GNU import libraries
authorMartin Storsjo <martin@martin.st>
Wed, 26 Sep 2018 06:13:47 +0000 (06:13 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 26 Sep 2018 06:13:47 +0000 (06:13 +0000)
commit32e651e169e149d25a1f2b2678c849bb515fa6c2
tree3bea2e9b691d0ff74aca793b58ae887edce3ac02
parent2bfa125fd653878324cc3b447d84ec1c2e3fe93d
[COFF] Don't do autoexport of symbols from GNU import libraries

This involves adding more generic list of symbol suffixes/prefixes
to ignore for autoexport; adding a few other entries to these lists
as well from the corresponding lists in binutils.

Differential Revision: https://reviews.llvm.org/D52382

llvm-svn: 343070
lld/COFF/MinGW.cpp
lld/COFF/MinGW.h
lld/test/COFF/imports-gnu-autoexport.s [new file with mode: 0644]