diff options
author | Teresa Johnson <tejohnson@google.com> | 2020-09-14 09:12:13 -0700 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2020-09-14 13:14:57 -0700 |
commit | 226d80ebe20e2d796af6c1bc43d9fbdfbb9d4a07 (patch) | |
tree | 5614be10fb0a558447dfe3e3240646b9c5f2006f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | becf15527583380b510ce269ee51abd364551f13 (diff) | |
download | llvm-226d80ebe20e2d796af6c1bc43d9fbdfbb9d4a07.zip llvm-226d80ebe20e2d796af6c1bc43d9fbdfbb9d4a07.tar.gz llvm-226d80ebe20e2d796af6c1bc43d9fbdfbb9d4a07.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 0d8b0f9..8393ebe 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1033,7 +1033,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, Opts.ThinLinkBitcodeFile = std::string(Args.getLastArgValue(OPT_fthin_link_bitcode_EQ)); - Opts.HeapProf = Args.hasArg(OPT_fmemory_profile); + Opts.MemProf = Args.hasArg(OPT_fmemory_profile); Opts.MSVolatile = Args.hasArg(OPT_fms_volatile); |