HomePhabricator

[compiler-rt][asan] Fix incorrect regexp breaking an asan unittest on win64

Description

[compiler-rt][asan] Fix incorrect regexp breaking an asan unittest on win64

Summary:
On windows, the memcpy and memmove function can be the same.
This is correcly detected when hooking, but it's not possible
to report the right function name when doing symbolisation.

The same fix was applied for the static asan unittest.
We forgot to apply the fix for the dynamic asan tests.

lvm\projects\compiler-rt\test\asan/TestCases/Windows/.svn/text-base/intercept_memcpy.cc.svn-base:// CHECK-NEXT:  __asan_{{.*}}mem{{.*}}

This patch is fixing this test (win64):

ddressSanitizer-x86_64-windows-dynamic :: TestCases/Windows/dll_intercept_memcpy_indirect.cc

Reviewers: rnk, vitalybuka

Subscribers: llvm-commits, kubabrecka, chrisha, dberris

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

Details

Committed
etiennebSep 30 2016, 7:29 AM
Differential Revision
D25038: [compiler-rt][asan] Fix incorrect regexp breaking an asan unittest on win64
Parents
rL282858: Strip trailing whitespace (NFCI)
Branches
Unknown
Tags
Unknown