This is an archive of the discontinued LLVM Phabricator instance.

[NFC][AsmPrinter] Remove dead multi-MMI handling from DwarfFile::addScopeVariable
ClosedPublic

Authored by scott.linder on Aug 23 2023, 3:40 PM.

Diff Detail

Event Timeline

scott.linder created this revision.Aug 23 2023, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 3:40 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
scott.linder requested review of this revision.Aug 23 2023, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 3:40 PM
fdeazeve accepted this revision.Aug 25 2023, 11:03 AM

LGTM! Thanks for doing this

llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
324

As a follow up comment on the mutable thing in the other revision, if FrameIndexExprs were a set we wouldn't need this call to none_of nor the mutable member. Also not something for this patch though!

1572

Yes! Really glad we now query _before_ creating the new Dbg var!

This revision is now accepted and ready to land.Aug 25 2023, 11:03 AM
This revision was landed with ongoing or failed builds.Sep 11 2023, 10:33 AM
This revision was automatically updated to reflect the committed changes.