[all-commits] [llvm/llvm-project] ed506d: [DebugMetadata] Simplify handling subprogram's ret...
Vladislav Dzhidzhoev via All-commits
all-commits at lists.llvm.org
Mon Jun 12 09:39:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed506dd6cecd9653cf9202bfe195891a33482852
https://github.com/llvm/llvm-project/commit/ed506dd6cecd9653cf9202bfe195891a33482852
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M clang/test/CodeGen/attr-btf_tag-disubprogram-callsite.c
M clang/test/CodeGenCXX/aix-static-init-debug-info.cpp
M clang/test/CodeGenCXX/debug-info-cxx1y.cpp
M clang/test/CodeGenCXX/debug-info-template.cpp
M clang/test/CodeGenObjC/debug-info-category.m
M llvm/include/llvm/IR/DIBuilder.h
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/IR/DIBuilder.cpp
M llvm/test/Bindings/OCaml/debuginfo.ml
Log Message:
-----------
[DebugMetadata] Simplify handling subprogram's retainedNodes field. NFCI (1/7)
RFC https://discourse.llvm.org/t/rfc-dwarfdebug-fix-and-improve-handling-imported-entities-types-and-static-local-in-subprogram-and-lexical-block-scopes/68544
Currently, `retainedNodes` tracks function-local variables and labels.
To support function-local import, types and static variables (which are globals
in LLVM IR), subsequent patches use the same field. So this patch makes
preliminary refactoring of the code tracking local entities to apply future
functional changes lucidly and cleanly.
No functional changes intended.
Differential Revision: https://reviews.llvm.org/D143984
Authored-by: Kristina Bessonova <kbessonova at accesssoftek.com>
More information about the All-commits
mailing list