[all-commits] [llvm/llvm-project] 76df4a: [CIR][CodeGen][NFC] Extract the EHPersonality stru...

Henrich Lauko via All-commits all-commits at lists.llvm.org
Thu Oct 1 08:10:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76df4ae44f0b4acbf1d7dee6cc26139255854d29
      https://github.com/llvm/llvm-project/commit/76df4ae44f0b4acbf1d7dee6cc26139255854d29
  Author: Henrich Lauko <xlauko at mail.muni.cz>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    A clang/include/clang/CodeGenUtils/EHPersonality.h
    M clang/lib/CIR/CodeGen/CIRGenCleanup.h
    M clang/lib/CIR/CodeGen/CIRGenException.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/lib/CodeGen/CGCleanup.h
    M clang/lib/CodeGen/CGException.cpp
    M clang/lib/CodeGen/CGObjCRuntime.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGenUtils/CMakeLists.txt
    A clang/lib/CodeGenUtils/EHPersonality.cpp

  Log Message:
  -----------
  [CIR][CodeGen][NFC] Extract the EHPersonality struct into CodeGenUtils (#223420)

Deduplicates the `EHPersonality` struct and its personality constants between
CIR and classic CodeGen into `EHPersonality.h`. The `EHPersonality::get`
factories become `getEHPersonality` overloads, since the shared struct cannot
name either CodeGenModule.

Assisted-by: Claude Code (Claude Fable 5.1).



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