This is an archive of the discontinued LLVM Phabricator instance.

[nfc] [lldb] DWZ 07/17: Use DIERef for DIEToVariableSP m_die_to_variable_sp and GetDIEToVariable()
AbandonedPublic

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

Details

Reviewers
labath
clayborg
Summary

After D96236 using just DWARFDebugInfoEntry * is ambiguous as it does not contain MainCU. DIERef (after D96239) does contain it and it has the same sizeof as DWARFDebugInfoEntry *. This replacement should have no real performance disadvantage.

My question about upstreaming of this patchset.

Diff Detail