aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2020-09-03 23:29:21 -0700
committerTeresa Johnson <tejohnson@google.com>2020-09-04 08:59:00 -0700
commit45c3560384814d04c9813e644efa8e2155ecae52 (patch)
treea57bb9f6788cd1ea6eb52166000d449d0bf823d4 /clang/lib/Frontend/CompilerInvocation.cpp
parent2108bceceb5e6eca361aaa6b10441d83bd9edc1b (diff)
downloadllvm-45c3560384814d04c9813e644efa8e2155ecae52.zip
llvm-45c3560384814d04c9813e644efa8e2155ecae52.tar.gz
llvm-45c3560384814d04c9813e644efa8e2155ecae52.tar.bz2
[HeapProf] Address post-review comments in instrumentation code
Addresses post-review comments from D85948, which can be found here: https://reviews.llvm.org/rG7ed8124d46f9.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 9143dd6..fbccff1 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_fmemprof);
+ Opts.HeapProf = Args.hasArg(OPT_fmemory_profile);
Opts.MSVolatile = Args.hasArg(OPT_fms_volatile);