[all-commits] [llvm/llvm-project] 08a7ba: [BOLT] Gadget scanner: do not crash on debug-print...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu Apr 17 08:56:30 PDT 2025


  Branch: refs/heads/users/atrosinenko/bolt-gs-cfi-debug-printing
  Home:   https://github.com/llvm/llvm-project
  Commit: 08a7baa4a63368f93991753bb47e037ca32702d6
      https://github.com/llvm/llvm-project/commit/08a7baa4a63368f93991753bb47e037ca32702d6
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

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

  Log Message:
  -----------
  [BOLT] Gadget scanner: do not crash on debug-printing CFI instructions

Some instruction-printing code used under LLVM_DEBUG does not handle CFI
instructions well. While CFI instructions seem to be harmless for the
correctness of the analysis results, they do not convey any useful
information to the analysis either, so skip them early.



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