[asan] Intercept atoll and strtoll on Windows
authorFangrui Song <i@maskray.me>
Sun, 27 Aug 2023 17:36:30 +0000 (10:36 -0700)
committerTobias Hieta <tobias@hieta.se>
Wed, 30 Aug 2023 15:00:18 +0000 (17:00 +0200)
commitcf16374055c1eb3367ada29e4e544f84bc588413
treeefbd5326db3dd7c4bc4d76d1da1453bd51bd7efd
parent4dea033c9b9f6393551984061fb1cd036bbeca67
[asan] Intercept atoll and strtoll on Windows

`_MSC_VER>=1800` (Visual Studio 2013) supports atoll/strtoll.
Remove the obsoleted workaround ASAN_INTERCEPT_ATOLL_AND_STRTOLL.

test/asan/TestCases/atoll_strict.c passes but
test/asan/TestCases/strtoll_strict.c doesn't.

(cherry picked from commit 8033231240f223dc7c718d1d27ece2dbcc8057c6)
compiler-rt/lib/asan/asan_interceptors.cpp
compiler-rt/lib/asan/asan_interceptors.h
compiler-rt/lib/asan/asan_win_dll_thunk.cpp
compiler-rt/test/asan/TestCases/atoll_strict.c