[all-commits] [llvm/llvm-project] 3c754b: [clang][PAC] Fix PAC codegen for final class dynam...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Fri Aug 8 03:15:02 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c754bfd9b2e33e51eaa8ae12d423df7d9dc918d
      https://github.com/llvm/llvm-project/commit/3c754bfd9b2e33e51eaa8ae12d423df7d9dc918d
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/test/CodeGenCXX/dynamic-cast-exact-disabled.cpp

  Log Message:
  -----------
  [clang][PAC] Fix PAC codegen for final class dynamic_cast optimization (#152227)

The codegen for the final class dynamic_cast optimization fails to
consider pointer authentication. This change resolves this be simply
disabling the optimization when pointer authentication enabled.

(cherry picked from commit 726847829553079a13b1b7104f2c2db9dcda9c1d)



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