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

Gergely Bálint via All-commits all-commits at lists.llvm.org
Wed Nov 26 04:37:23 PST 2025


  Branch: refs/heads/users/bgergely0/bolt-warn-on-sync-unw
  Home:   https://github.com/llvm/llvm-project
  Commit: a191dec35a437b51d9d1d46c372a0276f248afe3
      https://github.com/llvm/llvm-project/commit/a191dec35a437b51d9d1d46c372a0276f248afe3
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-26 (Wed, 26 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: 661687b5ec85e0fcdab3cbd04c90792bc01aeb79
      https://github.com/llvm/llvm-project/commit/661687b5ec85e0fcdab3cbd04c90792bc01aeb79
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-26 (Wed, 26 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: a1e9e333aebecd092e46d7a10e61224ed1bc34a6
      https://github.com/llvm/llvm-project/commit/a1e9e333aebecd092e46d7a10e61224ed1bc34a6
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

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

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


  Commit: fff7be18d63c5b515a3084e9a3ae45681b305d27
      https://github.com/llvm/llvm-project/commit/fff7be18d63c5b515a3084e9a3ae45681b305d27
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-26 (Wed, 26 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/93ceb02e46f9...fff7be18d63c

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