This is an archive of the discontinued LLVM Phabricator instance.

[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
corresponding subprogram, as it is more clear.

It's supposed to be committed along with https://reviews.llvm.org/D144006.

Diff Detail

Event Timeline

dzhidzhoev created this revision.Aug 24 2023, 6:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2023, 6:24 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
dzhidzhoev requested review of this revision.Aug 24 2023, 6:24 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 24 2023, 6:24 AM

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.

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.

Thanks! Added related revisions.

aprantl accepted this revision.Aug 24 2023, 11:04 AM
This revision is now accepted and ready to land.Aug 24 2023, 11:04 AM
dblaikie accepted this revision.Sep 18 2023, 11:47 AM

Nice and easy

dzhidzhoev closed this revision.Nov 3 2023, 2:53 AM