[all-commits] [llvm/llvm-project] c7f302: [NFC][KeyInstr][Clang] Add some additional tests

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon Apr 7 06:47:51 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-extra-tests
  Home:   https://github.com/llvm/llvm-project
  Commit: c7f302e62c367ed16c334da29e1ac1e9fb46bb7a
      https://github.com/llvm/llvm-project/commit/c7f302e62c367ed16c334da29e1ac1e9fb46bb7a
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    A clang/test/KeyInstructions/cast.c
    A clang/test/KeyInstructions/multi-func.c
    A clang/test/KeyInstructions/new.cpp

  Log Message:
  -----------
  [NFC][KeyInstr][Clang] Add some additional tests

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

new.cpp: Check store of addr and value are both added to same atom
cast.c: Check we look through casts
multi-func.c Check the atom group number is reset between functions



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