[all-commits] [llvm/llvm-project] 306481: [PAC] Fix codegen for polymorphic class variables ...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Tue Aug 26 02:43:32 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 306481bd7658ec156cddb8c3b1c3b85511c2abaa
      https://github.com/llvm/llvm-project/commit/306481bd7658ec156cddb8c3b1c3b85511c2abaa
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp

  Log Message:
  -----------
  [PAC] Fix codegen for polymorphic class variables with consteval constructors (#154858)

Fix a bug in CodeGen where such variables could cause a compilation
error or be emitted with an undef initializer when the vtable was signed
with address discrimination.

rdar://155696134
(cherry picked from commit e612f37f2c110987ec43f8aa4fe8e86d6f64186f)



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