[all-commits] [llvm/llvm-project] c64f3e: [KeyInstr][Clang] Scalar init atom

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


  Branch: refs/heads/users/OCHyams/ki-clang-init
  Home:   https://github.com/llvm/llvm-project
  Commit: c64f3e7363dae15d09188ec22d618be9841d8784
      https://github.com/llvm/llvm-project/commit/c64f3e7363dae15d09188ec22d618be9841d8784
  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/lib/CodeGen/CGExpr.cpp
    A clang/test/DebugInfo/KeyInstructions/init-scalar.c

  Log Message:
  -----------
  [KeyInstr][Clang] Scalar 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: 024c6702741b590984273b8ba28f62befd9b39fc
      https://github.com/llvm/llvm-project/commit/024c6702741b590984273b8ba28f62befd9b39fc
  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-scalar.c

  Log Message:
  -----------
  use %clang_cc1 in test


Compare: https://github.com/llvm/llvm-project/compare/2935186830de...024c6702741b

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