[all-commits] [llvm/llvm-project] 46ccd7: [KeyInstr][Clang] Aggregate init + copy

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed May 21 07:19:41 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-agg-cpy
  Home:   https://github.com/llvm/llvm-project
  Commit: 46ccd7a165bde6ad72f785551bf57cc7fb590378
      https://github.com/llvm/llvm-project/commit/46ccd7a165bde6ad72f785551bf57cc7fb590378
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    A clang/test/DebugInfo/KeyInstructions/agg.c
    M clang/test/DebugInfo/KeyInstructions/init-agg.c

  Log Message:
  -----------
  [KeyInstr][Clang] Aggregate init + copy

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: 738d294f757ffeeb4a2ec26cd1f1214b5669c656
      https://github.com/llvm/llvm-project/commit/738d294f757ffeeb4a2ec26cd1f1214b5669c656
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/test/DebugInfo/KeyInstructions/agg.c

  Log Message:
  -----------
  [KeyInstr][Clang] Agg copy atom


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

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CodeGenFunction.h

  Log Message:
  -----------
  move ApplyAtomGroup into CodeGenFunction.h (CGDebugInfo.h no longer included)


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

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/agg.c
    M clang/test/DebugInfo/KeyInstructions/init-agg.c

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


Compare: https://github.com/llvm/llvm-project/compare/77f91f53a773...a9c75894442b

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