[all-commits] [llvm/llvm-project] e3c271: [KeyInstr][Clang] While stmt atom

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed May 21 07:48:19 PDT 2025


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

  Changed paths:
    M clang/lib/CodeGen/CGStmt.cpp
    A clang/test/DebugInfo/KeyInstructions/while.c

  Log Message:
  -----------
  [KeyInstr][Clang] While stmt atom

See test comment for possible future improvement.

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

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/while.c

  Log Message:
  -----------
  cc1


Compare: https://github.com/llvm/llvm-project/compare/38f3eec43ee3...cdd6ff398508

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