This is an archive of the discontinued LLVM Phabricator instance.

DWZ 04/06: ManualDWARFIndex::GetGlobalVariables for DIEs in PUs
AbandonedPublic

Authored by jankratochvil on Jul 29 2018, 1:33 PM.

Details

Reviewers
labath
clayborg
Summary

Rarely (GlobalVariablesTestCase-test_c_global_variables) a DIE can be only in PU (PartialUnit), that is if a DIE is a static constant variable (g_file_static_int) so that it has no location address.

Patch has been optimized for minimal code added despite the performance is suboptimal for DWZ files. It also should not affect non-DWZ files performance.

All DWZ patches are also applied in: git clone -b dwz git://git.jankratochvil.net/lldb

Diff Detail

Repository
rLLDB LLDB