[all-commits] [llvm/llvm-project] f578f5: [BOLT] Gadget scanner: refactor issue reporting (#...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu May 22 08:28:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f578f56feaf9e578cedf9854efe7041353e7e55c
      https://github.com/llvm/llvm-project/commit/f578f56feaf9e578cedf9854efe7041353e7e55c
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M bolt/include/bolt/Passes/PAuthGadgetScanner.h
    M bolt/lib/Passes/PAuthGadgetScanner.cpp
    M bolt/test/binary-analysis/AArch64/gs-pacret-autiasp.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-debug-output.s

  Log Message:
  -----------
  [BOLT] Gadget scanner: refactor issue reporting (#135662)

Remove `getAffectedRegisters` and `setOverwritingInstrs` methods from
the base `Report` class. Instead, rename the `Report` class to
`Diagnostic` and make it always represent the brief version of the
report, which is kept unchanged since initially found. Throughout its
life-cycle, an instance of `Diagnostic` is first wrapped into
`PartialReport<ReqT>` together with an optional request for extra
details. Then, on the second run of the analysis, it is re-wrapped into
`FinalReport` together with the requested detailed information.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list