[all-commits] [llvm/llvm-project] f686e4: [Remarks] Make sure -fdiagnostics-hotness-threshol...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Jun 26 04:49:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f686e4bbc20a837ff5230656431aec1abbd5f872
      https://github.com/llvm/llvm-project/commit/f686e4bbc20a837ff5230656431aec1abbd5f872
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M clang/test/Frontend/remarks-hotness.cpp
    M llvm/lib/IR/LLVMRemarkStreamer.cpp

  Log Message:
  -----------
  [Remarks] Make sure -fdiagnostics-hotness-threshold implies -fdiagnostics-show-hotness

When asking for -fdiagnostics-hotness-threshold, we currently require
-fdiagnostics-show-hotness otherwise we silently display nothing.

I don't see a scenario where that makes sense, so have one option impy
the other.

Differential Revision: https://reviews.llvm.org/D153746




More information about the All-commits mailing list