Vitaly Buka
f78a742ab8
[NFC][sanitizer] Rename Lock{Before,After}Fork suffixes locking StackDepotBase ( #76279 )
...
This is preparation for performance optimization.
We need to highlight that this is very specific lock, and should not be
used for other purposes.
Add `fork_child` parameter to distinguish processes after fork.
2023-12-22 23:38:01 -08:00
Vitaly Buka
fcce843227
[msan] Use pthread_atfork instead of interceptor ( #75398 )
...
This is done for consistency with other sanitizers.
Also lock the allocator.
2023-12-13 15:36:38 -08:00
Vitaly Buka
192840113a
[NFC][msan] Clang-format some includes
2023-12-13 14:46:08 -08:00
Vitaly Buka
db0af393f9
[msan] Fix ppc64 format warning
2021-08-14 18:43:24 -07:00
Dmitry Vyukov
d26d5a0a3d
msan: clean up and enable format string checking
...
Depends on D107981.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D107982
2021-08-13 13:45:02 +02:00
Fangrui Song
60afb58bfe
[msan] Delete unused glibc header <execinfo.h>
...
The file does not call backtrace/backtrace_symbols.
2020-12-27 21:59:23 -08:00
Evgenii Stepanov
dc3388b020
[msan] Respect no_huge_pages_for_shadow.
...
Disable huge pages in the MSan shadow region when
no_huge_pages_for_shadow == true (default).
Differential Revision: https://reviews.llvm.org/D85061
2020-08-01 16:59:51 -07:00
Vitaly Buka
48eb4a27d1
Update compiler-rt cpplint.py
...
adb3500107
llvm-svn: 371675
2019-09-11 21:33:06 +00:00
Nico Weber
60c66db476
compiler-rt: Rename .cc file in lib/msan to .cpp
...
Like r367463, but for msan.
llvm-svn: 367562
2019-08-01 14:08:18 +00:00