[all-commits] [llvm/llvm-project] d3531f: [sanitizer] Don't run malloc hooks for stacktraces
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Wed Apr 13 16:34:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3531fc7f0053a7fe68317521ee6491da6e36733
https://github.com/llvm/llvm-project/commit/d3531fc7f0053a7fe68317521ee6491da6e36733
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