diff options
author | Teresa Johnson <tejohnson@google.com> | 2020-10-17 10:46:19 -0700 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2020-10-21 12:46:49 -0700 |
commit | 31bc55d602a09241f6d126ca9315e7ddc3d92555 (patch) | |
tree | 60cb3f9618dc550edd5d7a4476ba13f71bc91e95 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | aa6c305344e5e96bc12b1b9b88cd852a290de914 (diff) | |
download | llvm-31bc55d602a09241f6d126ca9315e7ddc3d92555.zip llvm-31bc55d602a09241f6d126ca9315e7ddc3d92555.tar.gz llvm-31bc55d602a09241f6d126ca9315e7ddc3d92555.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions