[all-commits] [llvm/llvm-project] c86b6c: [KeyInstr][Clang] Coerced store atoms

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue Jun 3 01:16:56 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-coerce
  Home:   https://github.com/llvm/llvm-project
  Commit: c86b6c7c5dc66619a52c2ec61eaf571df932449f
      https://github.com/llvm/llvm-project/commit/c86b6c7c5dc66619a52c2ec61eaf571df932449f
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/DebugInfo/KeyInstructions/coerced.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerced store atoms

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: c02e47c9973397ace3ea45d995628c9deb0a0a94
      https://github.com/llvm/llvm-project/commit/c02e47c9973397ace3ea45d995628c9deb0a0a94
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/DebugInfo/KeyInstructions/coerced.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerced to int atom


  Commit: 15f4bd9811411431dda43dc9ae600754b3fdd655
      https://github.com/llvm/llvm-project/commit/15f4bd9811411431dda43dc9ae600754b3fdd655
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/DebugInfo/KeyInstructions/coerced-ptr.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerced ptr to int atom


  Commit: e32d57fbd2be084cc3461338659e90c9d6c5262e
      https://github.com/llvm/llvm-project/commit/e32d57fbd2be084cc3461338659e90c9d6c5262e
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/DebugInfo/KeyInstructions/coerced-packed.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerce packed struct atom


  Commit: 20ba846606753dd772b784102f31ee1bf1b1ce26
      https://github.com/llvm/llvm-project/commit/20ba846606753dd772b784102f31ee1bf1b1ce26
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/DebugInfo/KeyInstructions/coerced-through-memory.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerce through memory atom


  Commit: 5b9da397ff336dde25af59fee5ed06990bac8f53
      https://github.com/llvm/llvm-project/commit/5b9da397ff336dde25af59fee5ed06990bac8f53
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/coerced-packed.c
    M clang/test/DebugInfo/KeyInstructions/coerced-ptr.c
    M clang/test/DebugInfo/KeyInstructions/coerced-through-memory.c
    M clang/test/DebugInfo/KeyInstructions/coerced.c

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


  Commit: 85b030c57ad1c7ffee408206525891d64fca13e6
      https://github.com/llvm/llvm-project/commit/85b030c57ad1c7ffee408206525891d64fca13e6
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/coerced-packed.c
    M clang/test/DebugInfo/KeyInstructions/coerced-ptr.c
    M clang/test/DebugInfo/KeyInstructions/coerced-through-memory.c
    M clang/test/DebugInfo/KeyInstructions/coerced.c

  Log Message:
  -----------
  remove ret atoms: coming in later patch


  Commit: 158bf4e39865236c8d77cdd828c0054d40d2c69b
      https://github.com/llvm/llvm-project/commit/158bf4e39865236c8d77cdd828c0054d40d2c69b
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/coerced-packed.c
    M clang/test/DebugInfo/KeyInstructions/coerced-ptr.c
    M clang/test/DebugInfo/KeyInstructions/coerced-through-memory.c
    M clang/test/DebugInfo/KeyInstructions/coerced.c

  Log Message:
  -----------
  fix RUN lines


  Commit: e82a363f74bea9ba12d3804f4c055eda8657c437
      https://github.com/llvm/llvm-project/commit/e82a363f74bea9ba12d3804f4c055eda8657c437
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp

  Log Message:
  -----------
  clang-format


Compare: https://github.com/llvm/llvm-project/compare/47712a2e9884...e82a363f74be

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