This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263831 - in /trunk/gcc: ChangeLog dwarf2out.c ...
- From: hjl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 24 Aug 2018 11:28:40 -0000
- Subject: r263831 - in /trunk/gcc: ChangeLog dwarf2out.c ...
Author: hjl
Date: Fri Aug 24 11:28:40 2018
New Revision: 263831
URL: https://gcc.gnu.org/viewcvs?rev=263831&root=gcc&view=rev
Log:
DWARF: Call set_indirect_string on DW_MACINFO_start_file
Since -gsplit-dwarf -g3 will output filename as indirect string, call
set_indirect_string on DW_MACINFO_start_file for -gsplit-dwarf -g3.
gcc/
PR debug/79342
* dwarf2out.c (save_macinfo_strings): Call set_indirect_string
on DW_MACINFO_start_file for -gsplit-dwarf -g3.
gcc/testsuite/
PR debug/79342
* gcc.dg/pr79342.: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr79342.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog