[all-commits] [llvm/llvm-project] c2a148: [BOLT][PAC] Warn about synchronous unwind tables

Gergely Bálint via All-commits all-commits at lists.llvm.org
Mon Nov 24 07:43:40 PST 2025


  Branch: refs/heads/users/bgergely0/bolt-warn-on-sync-unw
  Home:   https://github.com/llvm/llvm-project
  Commit: c2a1481e0b8d2554ab2da030affc0aaf0eef766a
      https://github.com/llvm/llvm-project/commit/c2a1481e0b8d2554ab2da030affc0aaf0eef766a
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M bolt/lib/Passes/PointerAuthCFIAnalyzer.cpp
    A bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp

  Log Message:
  -----------
  [BOLT][PAC] Warn about synchronous unwind tables

BOLT currently ignores functions with synchronous PAuth DWARF info.
When more than 10% of functions get ignored for inconsistencies, we
should emit a warning to only use asynchronous unwind tables.

See also: #165215


  Commit: 9552a0bdd9991f1a9e0115f640fc21233f51da22
      https://github.com/llvm/llvm-project/commit/9552a0bdd9991f1a9e0115f640fc21233f51da22
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M bolt/lib/Passes/PointerAuthCFIAnalyzer.cpp
    M bolt/test/AArch64/pacret-cfi-incorrect.s

  Log Message:
  -----------
  [BOLT] Use opts::Verbosity in PointerAuthCFIAnalyzer


  Commit: 7cf0aa297fc92ee327673ca6391284baa5f224a5
      https://github.com/llvm/llvm-project/commit/7cf0aa297fc92ee327673ca6391284baa5f224a5
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M bolt/lib/Passes/PointerAuthCFIAnalyzer.cpp

  Log Message:
  -----------
  [BOLT] Add comment about the chosen threshold


  Commit: 4b220b3ed3bb18523b8123ca533e3090c70d2442
      https://github.com/llvm/llvm-project/commit/4b220b3ed3bb18523b8123ca533e3090c70d2442
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M bolt/lib/Passes/PointerAuthCFIAnalyzer.cpp

  Log Message:
  -----------
  [BOLT] PointerAuthCFIAnalyzer: return early if there is no work

- makes sure we do not divide by zero, to calculate the % of ignored
  functions.


Compare: https://github.com/llvm/llvm-project/compare/ee0075797d10...4b220b3ed3bb

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