[sanitizer] try not to use libc mem* functions in sanitizer_common tests (conflicts with our own interceptors)

llvm-svn: 169595
This commit is contained in:
Kostya Serebryany 2012-12-07 10:13:10 +00:00
parent 2723403f9e
commit 52a3b92abd
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ TEST(Allocator, ScopedBuffer) {
}
InternalScopedBuffer<char> char_buf(kSize);
EXPECT_EQ(sizeof(char) * kSize, char_buf.size()); // NOLINT
memset(char_buf.data(), 'c', kSize);
internal_memset(char_buf.data(), 'c', kSize);
for (int i = 0; i < kSize; i++) {
EXPECT_EQ('c', char_buf[i]);
}