[all-commits] [llvm/llvm-project] 441843: [DebugMetadata] Simplify handling subprogram's ret...
Vladislav Dzhidzhoev via All-commits
all-commits at lists.llvm.org
Wed Jun 7 07:43:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4418434c6de7a861e241ba2448ea4a12080cf08f
https://github.com/llvm/llvm-project/commit/4418434c6de7a861e241ba2448ea4a12080cf08f
Author: Kristina Bessonova <kbessonova at accesssoftek.com>
Date: 2023-06-07 (Wed, 07 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
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
More information about the All-commits
mailing list