[all-commits] [llvm/llvm-project] 31bc55: [sanitizer] Convert PrintModuleMap to DumpProcessMap
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Wed Oct 21 12:47:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 31bc55d602a09241f6d126ca9315e7ddc3d92555
https://github.com/llvm/llvm-project/commit/31bc55d602a09241f6d126ca9315e7ddc3d92555
Author: Teresa Johnson <tejohnson at google.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M compiler-rt/lib/asan/asan_report.cpp
M compiler-rt/lib/asan/asan_rtl.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.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_rtems.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
M compiler-rt/lib/tsan/rtl/tsan_report.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Log Message:
-----------
[sanitizer] Convert PrintModuleMap to DumpProcessMap
As discussed in the review for D87120 (specifically at
https://reviews.llvm.org/D87120#inline-831939), clean up PrintModuleMap
and DumpProcessMap usage differences. The former is only implemented for
Mac OSX, whereas the latter is implemented for all OSes. The former is
called by asan and tsan, and the latter by hwasan and now memprof, under
the same option. Simply rename the PrintModuleMap implementation for Mac
to DumpProcessMap, remove other empty PrintModuleMap implementations,
and convert asan/tsan to new name. The existing posix DumpProcessMap is
disabled for SANITIZER_MAC.
Differential Revision: https://reviews.llvm.org/D89630
More information about the All-commits
mailing list