[all-commits] [llvm/llvm-project] 510cb6: [KeyInstr][Clang] Reset atomGroup number for each ...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue May 27 07:28:31 PDT 2025


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

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    A clang/test/DebugInfo/KeyInstructions/multi-func.c

  Log Message:
  -----------
  [KeyInstr][Clang] Reset atomGroup number for each function

CGDebugInfo::completeFunction was added previously but mistakenly
not called (dropped through the cracks while putting together
the patch stack). Moved out of #134652 and #134654.


  Commit: 16fbead2fa46c92753b6703877a90e907adaa385
      https://github.com/llvm/llvm-project/commit/16fbead2fa46c92753b6703877a90e907adaa385
  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/for.c

  Log Message:
  -----------
  [KeyInstr][Clang] For 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: bccad5d04e6c04a01af8c77c6ea0e3985aaabae8
      https://github.com/llvm/llvm-project/commit/bccad5d04e6c04a01af8c77c6ea0e3985aaabae8
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

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

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


  Commit: 525a96109a619f4f8bc8994b49cb4662add2189e
      https://github.com/llvm/llvm-project/commit/525a96109a619f4f8bc8994b49cb4662add2189e
  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
    M clang/test/DebugInfo/KeyInstructions/for.c

  Log Message:
  -----------
  nit: shadowed var, test triple


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

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

  Log Message:
  -----------
  improve test comments


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

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

  Log Message:
  -----------
  improve test


  Commit: b41dc1cdc5b96659275e10bc05a28ddb176cae94
      https://github.com/llvm/llvm-project/commit/b41dc1cdc5b96659275e10bc05a28ddb176cae94
  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
    M clang/test/DebugInfo/KeyInstructions/for.c

  Log Message:
  -----------
  fix for body with ctrl-flow


Compare: https://github.com/llvm/llvm-project/compare/74a6ebd06d56...b41dc1cdc5b9

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