[all-commits] [llvm/llvm-project] 9459c8: [KeyInstr][Clang] Add ApplyAtomGroup (#134632)
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Wed May 21 09:41:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9459c8309c6768cf6aa7956885b2540e16582a93
https://github.com/llvm/llvm-project/commit/9459c8309c6768cf6aa7956885b2540e16582a93
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
Log Message:
-----------
[KeyInstr][Clang] Add ApplyAtomGroup (#134632)
This is a scoped helper similar to ApplyDebugLocation that creates a new source
location atom group which instructions can be added to.
A source atom is a source construct that is "interesting" for debug stepping
purposes. We use an atom group number to track the instruction(s) that implement
the functionality for the atom, plus backup instructions/source locations.
This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.
RFC:
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.
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