[compiler-rt] Make the MSAN wmemset intercepter call wmemset instead of memset. Fixes...
authorEric Fiselier <eric@efcs.ca>
Mon, 24 Nov 2014 18:17:04 +0000 (18:17 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 24 Nov 2014 18:17:04 +0000 (18:17 +0000)
commit909deebfc8b90eee317424646f6bdf358160164e
treeeebe8cc4bf76b28dfe172e23ab5adc8745778746
parenta69bcd5ed0fc53129e3b606e4ca37806d9b9c4bf
[compiler-rt] Make the MSAN wmemset intercepter call wmemset instead of memset. Fixes PR 21579

Summary:
Exactly what the title says. I've tested this change against the libc++ test failures and it solves all of them. The check-msan rule also still passes.
I'm not sure why it called memset originally.

I can add tests if requested but currently there are no tests involving wide chars and they are a c++11 features.

Reviewers: kcc, eugenis

Reviewed By: eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6352

llvm-svn: 222673
compiler-rt/lib/msan/msan_interceptors.cc
compiler-rt/lib/msan/tests/msan_test.cc