Re: [PATCH] DWARF5: Don't generate DW_AT_loclists_base for split compile unit DIEs.

2018-06-01 Thread Jason Merrill
OK. On Fri, Jun 1, 2018 at 8:29 AM, Mark Wielaard wrote: > On Sat, 2018-05-26 at 21:31 +0200, Mark Wielaard wrote: >> The loclists_base attribute is used to point to the beginning of the >> loclists index of a DWARF5 loclists table when using DW_FORM_loclistsx. >> For split compile units the base

Re: [PATCH] DWARF5: Don't generate DW_AT_loclists_base for split compile unit DIEs.

2018-06-01 Thread Mark Wielaard
On Sat, 2018-05-26 at 21:31 +0200, Mark Wielaard wrote: > The loclists_base attribute is used to point to the beginning of the > loclists index of a DWARF5 loclists table when using DW_FORM_loclistsx. > For split compile units the base is not given by the attribute, but is > either the first (and o

[PATCH] DWARF5: Don't generate DW_AT_loclists_base for split compile unit DIEs.

2018-05-26 Thread Mark Wielaard
The loclists_base attribute is used to point to the beginning of the loclists index of a DWARF5 loclists table when using DW_FORM_loclistsx. For split compile units the base is not given by the attribute, but is either the first (and only) index in the .debug_loclists section, or (when placed in a