[all-commits] [llvm/llvm-project] c4029c: [KeyInstr][Clang] Agg init atom

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Thu May 22 05:47:09 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-init-agg
  Home:   https://github.com/llvm/llvm-project
  Commit: c4029c3503f565ab6c2faa9cdec129c79133ff4f
      https://github.com/llvm/llvm-project/commit/c4029c3503f565ab6c2faa9cdec129c79133ff4f
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDecl.cpp
    A clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  [KeyInstr][Clang] Agg init atom

This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.

The Key Instructions project is introduced, including a "quick summary" section
at the top which adds context for this PR, here:
https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668

The feature is only functional in LLVM if LLVM is built with CMake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONs. Eventually that flag will be removed.

The Clang-side work is demoed here:
https://github.com/llvm/llvm-project/pull/130943


  Commit: d946e31203b07c88d1ade65677a3b2d87adf533e
      https://github.com/llvm/llvm-project/commit/d946e31203b07c88d1ade65677a3b2d87adf533e
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  shouldUseBZeroPlusStoresToInitialize


  Commit: 355b398dddff5193d1b5b44483967a01b3722d5c
      https://github.com/llvm/llvm-project/commit/355b398dddff5193d1b5b44483967a01b3722d5c
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  [KeyInstr] init-agg pattern


  Commit: c23c95bba9a7f71c521156c42adab8be5ac85b35
      https://github.com/llvm/llvm-project/commit/c23c95bba9a7f71c521156c42adab8be5ac85b35
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  [KeyInstr][Clang] Init pattern atom


  Commit: e8358f3d11f29553fd2e666c0809e02bafe1d96e
      https://github.com/llvm/llvm-project/commit/e8358f3d11f29553fd2e666c0809e02bafe1d96e
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  use %clang_cc1


  Commit: 0b4f95cc8fb642056ec46eb78759ed5ef37b226b
      https://github.com/llvm/llvm-project/commit/0b4f95cc8fb642056ec46eb78759ed5ef37b226b
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  test nits


  Commit: 9dbcce27b0285c9133aaf3679aebb873796f0af0
      https://github.com/llvm/llvm-project/commit/9dbcce27b0285c9133aaf3679aebb873796f0af0
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/init-agg.cpp

  Log Message:
  -----------
  improve test a bit more


Compare: https://github.com/llvm/llvm-project/compare/ed55fe5f2660...9dbcce27b028

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