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

Gergely Bálint via All-commits all-commits at lists.llvm.org
Fri Nov 28 04:06:45 PST 2025


  Branch: refs/heads/users/bgergely0/bolt-warn-on-sync-unw
  Home:   https://github.com/llvm/llvm-project
  Commit: e53aff33f3e1f6a1bc1ed4b487f4f4c00fe9d67c
      https://github.com/llvm/llvm-project/commit/e53aff33f3e1f6a1bc1ed4b487f4f4c00fe9d67c
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-28 (Fri, 28 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: 09ce4ad330bdee425b5d96dacd3bf8bf15b31603
      https://github.com/llvm/llvm-project/commit/09ce4ad330bdee425b5d96dacd3bf8bf15b31603
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-28 (Fri, 28 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: b00ea4714c31f0743f7d8abae9c29a697ce821dc
      https://github.com/llvm/llvm-project/commit/b00ea4714c31f0743f7d8abae9c29a697ce821dc
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-28 (Fri, 28 Nov 2025)

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

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


  Commit: 06d2c2b24bca8429a67cb60129fe83624e1f6b71
      https://github.com/llvm/llvm-project/commit/06d2c2b24bca8429a67cb60129fe83624e1f6b71
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-11-28 (Fri, 28 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/28b315198311...06d2c2b24bca

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