[asan] Undo special treatment of linkonce_odr and weak_odr
authorVitaly Buka <vitalybuka@google.com>
Thu, 20 Dec 2018 00:30:27 +0000 (00:30 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 20 Dec 2018 00:30:27 +0000 (00:30 +0000)
commit07a55f27dc427df06c5354912d4053e21c84f9ef
tree731d2389cc5dbc63ab55e5d1f05e3c8bf345adb1
parentd414e1bbb547aabdadecd0fccc23bda41adf5d99
[asan] Undo special treatment of linkonce_odr and weak_odr

Summary:
On non-Windows these are already removed by ShouldInstrumentGlobal.
On Window we will wait until we get actual issues with that.

Reviewers: pcc

Subscribers: hiraditya, llvm-commits

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

llvm-svn: 349707
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/test/Instrumentation/AddressSanitizer/win-string-literal.ll