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

Gergely Bálint via All-commits all-commits at lists.llvm.org
Mon Nov 24 05:51:46 PST 2025


  Branch: refs/heads/users/bgergely0/bolt-warn-on-sync-unw
  Home:   https://github.com/llvm/llvm-project
  Commit: 12798bd2dac2f1d5813bb0ff1ba0f4b706327586
      https://github.com/llvm/llvm-project/commit/12798bd2dac2f1d5813bb0ff1ba0f4b706327586
  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: 77f6846d597a39a0feba856e742209adeafda7d3
      https://github.com/llvm/llvm-project/commit/77f6846d597a39a0feba856e742209adeafda7d3
  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: 3c6b942c6a33eda6bea99ede66ac3476450af4c5
      https://github.com/llvm/llvm-project/commit/3c6b942c6a33eda6bea99ede66ac3476450af4c5
  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: b892645720ac07837680a9cc6ba382d3f192fef3
      https://github.com/llvm/llvm-project/commit/b892645720ac07837680a9cc6ba382d3f192fef3
  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/352b942e72cf...b892645720ac

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