[all-commits] [llvm/llvm-project] 6345d7: [sanitizer] Don't run malloc hooks for stacktraces
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Wed Apr 13 11:45:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6345d7f2a829faea56ad522a7d5180043f862a5c
https://github.com/llvm/llvm-project/commit/6345d7f2a829faea56ad522a7d5180043f862a5c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Changed paths:
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
A compiler-rt/test/sanitizer_common/TestCases/malloc_hook_skip.cpp
Log Message:
-----------
[sanitizer] Don't run malloc hooks for stacktraces
Usually when we generated stacktraces the process is in error state, so
running hooks may crash the process and prevent meaningfull error report.
Symbolizer, unwinder and pthread are potential source of mallocs.
https://b.corp.google.com/issues/228110771
Reviewed By: kda
Differential Revision: https://reviews.llvm.org/D123566
More information about the All-commits
mailing list