[Sanitizers] [MinGW] Produce undecorated symbols for /export: directives when in...
authorMartin Storsjo <martin@martin.st>
Tue, 25 Sep 2018 19:50:39 +0000 (19:50 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 25 Sep 2018 19:50:39 +0000 (19:50 +0000)
commit45205a28343a8953b55a9bebb3b30104dbb4ddf5
tree7d7e8971663379edc9ecdc9846c5e14252a666f3
parent693f3a573c747d5d1d56164c7123dbb866977174
[Sanitizers] [MinGW] Produce undecorated symbols for /export: directives when in MinGW mode

In MinGW mode, the /export: directives in object files are interpreted
differently; the symbols are not assumed to be decorated.

Since the GNU linker doesn't support the /alternatename and /include
directives, there's no such distinction for them in lld. This assumes
that the resulting sanitizer libraries will be linked by lld.

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

llvm-svn: 343015
compiler-rt/lib/sanitizer_common/sanitizer_win_defs.h