[all-commits] [llvm/llvm-project] 8f03e1: [KeyInstr][Clang] Add Clang option -g[no-]key-inst...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Tue May 20 03:22:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f03e1a9d5ef4eab0a249f7007dbc1b7b9a0921a
https://github.com/llvm/llvm-project/commit/8f03e1a9d5ef4eab0a249f7007dbc1b7b9a0921a
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CMakeLists.txt
A clang/test/DebugInfo/KeyInstructions/flag.cpp
A clang/test/DebugInfo/KeyInstructions/lit.local.cfg
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
[KeyInstr][Clang] Add Clang option -g[no-]key-instructions (#134627)
This needs to be driver level to pass an -mllvm flag to LLVM, though this may
change soon as the -mllvm flag will soon not be necessary.
Keep the flag help-hidden as the feature is under development.
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