forked from OSchip/llvm-project
[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:
parent
2723403f9e
commit
52a3b92abd
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue