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

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed May 21 06:37:08 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-init-agg
  Home:   https://github.com/llvm/llvm-project
  Commit: fb714455f4123a40342c472b16dc940d55cd9bdb
      https://github.com/llvm/llvm-project/commit/fb714455f4123a40342c472b16dc940d55cd9bdb
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 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: 253508197cdd0b6ed1c36fc32d1db38cfa428110
      https://github.com/llvm/llvm-project/commit/253508197cdd0b6ed1c36fc32d1db38cfa428110
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

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

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


  Commit: 1171d504c557c81d0d905940dda9b80d98c2f9dc
      https://github.com/llvm/llvm-project/commit/1171d504c557c81d0d905940dda9b80d98c2f9dc
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 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: a7fa7b7d0b90b377e427183b1824ac4cd1403f4a
      https://github.com/llvm/llvm-project/commit/a7fa7b7d0b90b377e427183b1824ac4cd1403f4a
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 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: 17837fd9abb03cc08f85be13f1fea586bf194dfb
      https://github.com/llvm/llvm-project/commit/17837fd9abb03cc08f85be13f1fea586bf194dfb
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

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

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


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

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

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


  Commit: ed55fe5f266013b56ffe474f5a71d803b8068e15
      https://github.com/llvm/llvm-project/commit/ed55fe5f266013b56ffe474f5a71d803b8068e15
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 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/eef73d31b628...ed55fe5f2660

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