This is an archive of the discontinued LLVM Phabricator instance.

[nfc] [lldb] DWZ 01/17: Remove DWARFDIE from DeclContextToDIEMap m_decl_ctx_to_die
AbandonedPublic

Authored by jankratochvil on Sep 24 2021, 3:03 AM.

Details

Summary

Replace DWARFDIE by std::pair<SymbolFileDWARF *, DIERef>. Currently it has the same size but after D96236 it would needlessly increase from 16 bytes to 24 bytes affecting performance. This replacement should have no real performance disadvantage.

My question about upstreaming of this patchset.

Diff Detail

Event Timeline

jankratochvil created this revision.Sep 24 2021, 3:03 AM
jankratochvil requested review of this revision.Sep 24 2021, 3:03 AM
jankratochvil retitled this revision from [nfc] [lldb] DWZ 01/17: Remove DWARFDIE from DeclContextToFileDIERefMap m_decl_ctx_to_filedieref to [nfc] [lldb] DWZ 01/17: Remove DWARFDIE from DeclContextToDIEMap m_decl_ctx_to_die.Sep 24 2021, 3:07 AM
jankratochvil abandoned this revision.Sep 27 2021, 9:33 AM

I will be no longer involved with this patchset.