[all-commits] [llvm/llvm-project] 482b95: [BOLT] Gadget scanner: factor out utility code (#1...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu Mar 20 09:35:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 482b95217e9d77c8c5ddb601579ef8b6d86c188c
      https://github.com/llvm/llvm-project/commit/482b95217e9d77c8c5ddb601579ef8b6d86c188c
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

  Changed paths:
    M bolt/lib/Passes/NonPacProtectedRetAnalysis.cpp
    A bolt/test/binary-analysis/AArch64/gs-pauth-debug-output.s

  Log Message:
  -----------
  [BOLT] Gadget scanner: factor out utility code (#131895)

Factor out the code for mapping from physical registers to consecutive
array indexes.

Introduce helper functions to print instructions and registers to
prevent mixing of analysis logic and implementation details of debug
output.

Removed the debug printing from `Gadget::generateReport`, as it doesn't
seem to add important information to what was already printed in the
report itself.



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