Remove a couple of memset usages from TSan, introduced in r288624.
authorDaniel Jasper <djasper@google.com>
Mon, 5 Dec 2016 14:37:42 +0000 (14:37 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 5 Dec 2016 14:37:42 +0000 (14:37 +0000)
commit724df6e8b706c6a4c700c7a348fd443b76cbf1d2
tree0e11965133dbda013ea0595b19f7956ed4d44b8b
parent5e922eb0a37297e16e7e15deb6fea87486d4f29f
Remove a couple of memset usages from TSan, introduced in r288624.

TSan runtime shouldn't contain memset, so internal_memset is used
instead and syntax that emits memset is avoided.

This doesn't fail in-tree due to TSan being build with -03, but it fails
when TSan is built with -O0, and is (I think) a true positive.

Patch by Sam McCall, review: https://reviews.llvm.org/D27407

llvm-svn: 288672
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc