[all-commits] [llvm/llvm-project] 170a8c: sanitizer_common: avoid compiler-interted memset i...
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed Jul 28 11:27:51 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 170a8c12843db3dc10b544c0fc5b3f19566ee940
https://github.com/llvm/llvm-project/commit/170a8c12843db3dc10b544c0fc5b3f19566ee940
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-07-28 (Wed, 28 Jul 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_mutex.cpp
Log Message:
-----------
sanitizer_common: avoid compiler-interted memset in deadlock detector
Compilers tends to insert memset/memcpy for some struct/array operations,
and these don't play well inside of sanitizer runtimes.
Avoiding these calls was the intention behind internal_memset.
Remove the leftover ={} that can result in memset call.
Reviewed By: vitalybuka, pgousseau
Differential Revision: https://reviews.llvm.org/D106978
More information about the All-commits
mailing list