aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2018-06-01 23:04:09 +0000
committerMark Wielaard <mark@gcc.gnu.org>2018-06-01 23:04:09 +0000
commit38a2b7ecfbf049e4fd3241b6fa79e39ef8ba2b12 (patch)
tree574aa96fa969a93677fad15bdcddde56dfc2895d /gcc/cp/lambda.c
parentf8ad043f4c8ea35c5333364fd5b2121dbcb66b71 (diff)
downloadgcc-38a2b7ecfbf049e4fd3241b6fa79e39ef8ba2b12.zip
gcc-38a2b7ecfbf049e4fd3241b6fa79e39ef8ba2b12.tar.gz
gcc-38a2b7ecfbf049e4fd3241b6fa79e39ef8ba2b12.tar.bz2
DWARF5: Don't generate DW_AT_loclists_base for split compile unit DIEs.
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.dwo section, or (when placed in a .dwp file) given by the DW_SECT_LOCLISTS row in the .debug_cu_index section. The loclists_base attribute is only valid for the full (or skeleton) compile unit DIE in the main (relocatable) object. But GCC only ever generates a loclists table index for the .debug_loclists section put into the split DWARF .dwo file. For split compile unit DIEs it is confusing (and not according to spec) to also have a DW_AT_loclists_base attribute (which might be wrong, since its relocatable offset won't actually be relocated). gcc/ChangeLog * dwarf2out.c (dwarf2out_finish): Remove generation of DW_AT_loclists_base. From-SVN: r261092
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions