diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-12-09 18:48:10 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-12-09 18:48:10 +0000 |
commit | 9c54984d43e5137650eebbb7713dcab3558d4c5a (patch) | |
tree | a0b4fb07659d74a15621d91b90095b5468131ff6 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | d28ffacc991bcc9bb2cb6493fbb214b842615e0f (diff) | |
download | bcm5719-llvm-9c54984d43e5137650eebbb7713dcab3558d4c5a.tar.gz bcm5719-llvm-9c54984d43e5137650eebbb7713dcab3558d4c5a.zip |
[TSan] Try harder to avoid compiler-generated memset calls.
check_memcpy test added in r254959 fails on some configurations due to
memset() calls inserted by Clang. Try harder to avoid them:
* Explicitly use internal_memset() instead of empty braced-initializer.
* Replace "new T()" with "new T", as the former generates zero-initialization
for structs in C++11.
llvm-svn: 255136
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions