Windows ASan: Instrument _msize_base()
authorVlad Tsyrklevich <vlad@tsyrklevich.net>
Fri, 14 Dec 2018 00:39:16 +0000 (00:39 +0000)
committerVlad Tsyrklevich <vlad@tsyrklevich.net>
Fri, 14 Dec 2018 00:39:16 +0000 (00:39 +0000)
commit137e23d536509103c7940ebb8c12332eb5031d83
tree0bbcf94414f2083971b5145053b578a1175f533b
parent1f2b181689c8b938f2ec344179a86d3fbeaf0c74
Windows ASan: Instrument _msize_base()

Summary:
A recent update to the VS toolchain in chromium [1] broke the windows
ASan bot because the new toolchain calls _msize_base() instead of
_msize() in a number of _aligned_* UCRT routines. Instrument
_msize_base() as well.

[1] https://crbug.com/914947

Reviewers: rnk, #sanitizers, vitalybuka

Reviewed By: rnk, #sanitizers, vitalybuka

Subscribers: vitalybuka, kubamracek, llvm-commits

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

llvm-svn: 349115
compiler-rt/lib/asan/asan_malloc_win.cc
compiler-rt/lib/asan/asan_win_dll_thunk.cc