[all-commits] [llvm/llvm-project] 3b4ca1: [KeyInstr][Clang] Assignment atom group

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


  Branch: refs/heads/users/OCHyams/ki-clang-assignment
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b4ca1b09a659e575e022109fd8c607c9df3864f
      https://github.com/llvm/llvm-project/commit/3b4ca1b09a659e575e022109fd8c607c9df3864f
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    A clang/test/DebugInfo/KeyInstructions/assign.cpp

  Log Message:
  -----------
  [KeyInstr][Clang] Assignment atom group

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

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/DebugInfo/KeyInstructions/assign.cpp

  Log Message:
  -----------
  [KeyInstr][Clang] Multiple assignment  (x = y = z)


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

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    A clang/test/DebugInfo/KeyInstructions/assign-scalar.c
    M clang/test/DebugInfo/KeyInstructions/assign.cpp

  Log Message:
  -----------
  Compound assign


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

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/DebugInfo/KeyInstructions/assign-scalar.c

  Log Message:
  -----------
  Pre/Post Inc/Dec


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

  Changed paths:
    A clang/test/DebugInfo/KeyInstructions/init-agg.c

  Log Message:
  -----------
  Rename test & run C & C++


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

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/assign-scalar.c
    A clang/test/DebugInfo/KeyInstructions/assign.c
    R clang/test/DebugInfo/KeyInstructions/assign.cpp

  Log Message:
  -----------
  %cc1 and rename a .cpp -> c test


Compare: https://github.com/llvm/llvm-project/compare/678876993da1...6f0135b3afce

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