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

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue May 27 03:26:33 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-switch
  Home:   https://github.com/llvm/llvm-project
  Commit: 71a5f65a7ecbd0b1ba3b5e45f0b03fa34484f85a
      https://github.com/llvm/llvm-project/commit/71a5f65a7ecbd0b1ba3b5e45f0b03fa34484f85a
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-27 (Tue, 27 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: 21266abfda12a5dcb61d1409cd8e7e0e0213b6f3
      https://github.com/llvm/llvm-project/commit/21266abfda12a5dcb61d1409cd8e7e0e0213b6f3
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

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

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


  Commit: 4e5d14d098e7ff8635df3359b2c5af4ad9951470
      https://github.com/llvm/llvm-project/commit/4e5d14d098e7ff8635df3359b2c5af4ad9951470
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

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

  Log Message:
  -----------
  triple


Compare: https://github.com/llvm/llvm-project/compare/2e3a53beff10...4e5d14d098e7

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