[asan] Update hotpatch code for VS 2015 memset implementation
authorReid Kleckner <rnk@google.com>
Mon, 21 Mar 2016 18:23:07 +0000 (18:23 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 21 Mar 2016 18:23:07 +0000 (18:23 +0000)
commitd2f05f52b4bc046865daad00916a2a5fb7bdc3b9
tree4fb263a501001cc9f0ed6ce681efb4402c96d0d6
parentcf173ffb46456155191f461580732262dcf3c969
[asan] Update hotpatch code for VS 2015 memset implementation

In VS 2015, the memset fill parameter is zero extended from one byte
instead of being copied wholesale.

The issue reproduces with existing tests if you use VS2015.

llvm-svn: 263966
compiler-rt/lib/interception/interception_win.cc