diff options
author | Adam Nemet <anemet@apple.com> | 2016-09-13 00:16:49 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-09-13 00:16:49 +0000 |
commit | f2b6883ac8d96d9c5dc2c356cae14753d7cf2c6c (patch) | |
tree | d457e16a8f780fe3757cedc49846d64dda6131c3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6c7b1c62126cea0146777b878a4516aa23073ae2 (diff) | |
download | bcm5719-llvm-f2b6883ac8d96d9c5dc2c356cae14753d7cf2c6c.tar.gz bcm5719-llvm-f2b6883ac8d96d9c5dc2c356cae14753d7cf2c6c.zip |
Revert "Add -fdiagnostics-show-hotness"
This reverts commit r281276.
Many bots are failing.
llvm-svn: 281279
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 1536738c926..619ea9cc231 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -839,12 +839,6 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, NeedLocTracking = true; } - Opts.DiagnosticsWithHotness = - Args.hasArg(options::OPT_fdiagnostics_show_hotness); - if (Opts.DiagnosticsWithHotness && - Opts.getProfileUse() == CodeGenOptions::ProfileNone) - Diags.Report(diag::warn_drv_fdiagnostics_show_hotness_requires_pgo); - // If the user requested to use a sample profile for PGO, then the // backend will need to track source location information so the profile // can be incorporated into the IR. |