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

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


  Branch: refs/heads/users/bgergely0/bolt-warn-on-sync-unw
  Home:   https://github.com/llvm/llvm-project
  Commit: 752456228d62ba7e8480defceef92c1d39dd3e8a
      https://github.com/llvm/llvm-project/commit/752456228d62ba7e8480defceef92c1d39dd3e8a
  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: 6501e9b3bb04fb99375a813cb2b4ee2ff752b72c
      https://github.com/llvm/llvm-project/commit/6501e9b3bb04fb99375a813cb2b4ee2ff752b72c
  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: 914a0c43e8e50680e2c33c4eafed7ac87aa3bfbc
      https://github.com/llvm/llvm-project/commit/914a0c43e8e50680e2c33c4eafed7ac87aa3bfbc
  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: 93ceb02e46f9940d24cb1f2a0f991af858220057
      https://github.com/llvm/llvm-project/commit/93ceb02e46f9940d24cb1f2a0f991af858220057
  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/4b220b3ed3bb...93ceb02e46f9

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