From f2b6883ac8d96d9c5dc2c356cae14753d7cf2c6c Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Tue, 13 Sep 2016 00:16:49 +0000 Subject: Revert "Add -fdiagnostics-show-hotness" This reverts commit r281276. Many bots are failing. llvm-svn: 281279 --- clang/lib/Frontend/CompilerInvocation.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 1536738..619ea9c 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. -- cgit v1.1