Don't retain local types in DICompileUnit, only attach them to the
corresponding subprogram, as it is more clear.
It's supposed to be committed along with https://reviews.llvm.org/D144006.
Paths
| Differential D158730
[DebugMetadata][DwarfDebug] Don't retain local types with -fno-eliminate-unused-debug-types ClosedPublic Authored by dzhidzhoev on Aug 24 2023, 6:24 AM.
Details Summary Don't retain local types in DICompileUnit, only attach them to the It's supposed to be committed along with https://reviews.llvm.org/D144006.
Diff Detail
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 24 2023, 6:24 AM Comment Actions Seems fine to me, but please triple check as the presubmit tests are failing. Perhaps you meant to mark this as a parent or child revision in phab with your other change, so that the presubmit builds know to apply both? See the box in the top right; Edit Related Revisions. dzhidzhoev added a parent revision: D155818: [CloneFunction][DebugInfo] Clone DISubprogram's local types.Aug 24 2023, 9:35 AM dzhidzhoev added a child revision: D144006: [DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7). Comment Actions
Thanks! Added related revisions. This revision is now accepted and ready to land.Aug 24 2023, 11:04 AM
Revision Contents
Diff 553101 clang/test/CodeGen/debug-info-unused-types.c
clang/test/CodeGen/debug-info-unused-types.cpp
llvm/lib/IR/DIBuilder.cpp
|