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

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu Jun 19 05:53:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e873fd157eda617ffd42edad3c4a6ab495e6e375
      https://github.com/llvm/llvm-project/commit/e873fd157eda617ffd42edad3c4a6ab495e6e375
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2025-06-19 (Thu, 19 Jun 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 (#136151)

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