OSDN Git Service

[MemProf] Rename HeapProfiler to MemProfiler for consistency
authorTeresa Johnson <tejohnson@google.com>
Mon, 14 Sep 2020 16:12:13 +0000 (09:12 -0700)
committerTeresa Johnson <tejohnson@google.com>
Mon, 14 Sep 2020 20:14:57 +0000 (13:14 -0700)
commit226d80ebe20e2d796af6c1bc43d9fbdfbb9d4a07
tree5614be10fb0a558447dfe3e3240646b9c5f2006f
parentbecf15527583380b510ce269ee51abd364551f13
[MemProf] Rename HeapProfiler to MemProfiler for consistency

This is consistent with the clang option added in
7ed8124d46f94601d5f1364becee9cee8538265e, and the comments on the
runtime patch in D87120.

Differential Revision: https://reviews.llvm.org/D87622
20 files changed:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Driver/SanitizerArgs.h
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/SanitizerArgs.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/fmemprof.cpp
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Instrumentation/HeapProfiler.h [deleted file]
llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h [new file with mode: 0644]
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Instrumentation/CMakeLists.txt
llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
llvm/lib/Transforms/Instrumentation/MemProfiler.cpp [moved from llvm/lib/Transforms/Instrumentation/HeapProfiler.cpp with 68% similarity]
llvm/test/Instrumentation/HeapProfiler/basic.ll
llvm/test/Instrumentation/HeapProfiler/instrumentation-use-callbacks.ll
llvm/test/Instrumentation/HeapProfiler/masked-load-store.ll
llvm/test/Instrumentation/HeapProfiler/scale-granularity.ll
llvm/test/Instrumentation/HeapProfiler/version-mismatch-check.ll