[all-commits] [llvm/llvm-project] ffab0b: [KeyInstr][Clang] Switch stmt atom

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Fri May 23 02:17:47 PDT 2025


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

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

  Log Message:
  -----------
  [KeyInstr][Clang] Switch stmt 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: 2e3a53beff102ca00c0c16232f958b6c0ed01281
      https://github.com/llvm/llvm-project/commit/2e3a53beff102ca00c0c16232f958b6c0ed01281
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

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

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


Compare: https://github.com/llvm/llvm-project/compare/97617b6f00e0...2e3a53beff10

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