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

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


  Branch: refs/heads/users/bgergely0/bolt-warn-on-sync-unw
  Home:   https://github.com/llvm/llvm-project
  Commit: 276e74a3e2bedd8e5004b829569042f220e6e2cd
      https://github.com/llvm/llvm-project/commit/276e74a3e2bedd8e5004b829569042f220e6e2cd
  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: 82d3fccf54594eec6311a806ce3e85558541669b
      https://github.com/llvm/llvm-project/commit/82d3fccf54594eec6311a806ce3e85558541669b
  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: 3cf0d069aab958793c4e10d3e8ed1b538ea38177
      https://github.com/llvm/llvm-project/commit/3cf0d069aab958793c4e10d3e8ed1b538ea38177
  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: ee0075797d1076180a0cf9b2bed3a80abdd58b6e
      https://github.com/llvm/llvm-project/commit/ee0075797d1076180a0cf9b2bed3a80abdd58b6e
  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/e25002a26fe7...ee0075797d10

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