HomePhabricator

[DebugInfo] Fix reading location tables headers of v5 units in DWP.

Authored by ikudrin on Mar 20 2020, 9:33 AM.

Description

[DebugInfo] Fix reading location tables headers of v5 units in DWP.

This fixes the reading of location lists headers for compilation units
in package files by adjusting the reading offset according to the
corresponding record in the unit index. This is required for
DW_FORM_loclistx to work.

Differential revision: https://reviews.llvm.org/D77146