Re: [PATCH] DWARF: Call set_indirect_string on DW_MACINFO_start_file

2018-08-24 Thread Richard Biener
On Thu, Aug 23, 2018 at 4:38 PM H.J. Lu wrote: > > On Thu, Aug 23, 2018 at 5:56 AM, Richard Biener > wrote: > > On Wed, Aug 22, 2018 at 9:36 PM H.J. Lu wrote: > >> > >> Since -gsplit-dwarf -g3 will output filename as indirect string, call > >> set_indirect_string on DW_MACINFO_start_file for -gs

Re: [PATCH] DWARF: Call set_indirect_string on DW_MACINFO_start_file

2018-08-23 Thread H.J. Lu
66ff7027a90f2108053427a516575ba78b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 22 Aug 2018 12:25:17 -0700 Subject: [PATCH] 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_MAC

Re: [PATCH] DWARF: Call set_indirect_string on DW_MACINFO_start_file

2018-08-23 Thread Richard Biener
On Wed, Aug 22, 2018 at 9:36 PM H.J. Lu wrote: > > Since -gsplit-dwarf -g3 will output filename as indirect string, call > set_indirect_string on DW_MACINFO_start_file for -gsplit-dwarf -g3. > > OK for trunk? Can you add a testcase? Richard. > H.J. > -- > PR debug/79342 > * dwar

[PATCH] DWARF: Call set_indirect_string on DW_MACINFO_start_file

2018-08-22 Thread H.J. Lu
Since -gsplit-dwarf -g3 will output filename as indirect string, call set_indirect_string on DW_MACINFO_start_file for -gsplit-dwarf -g3. OK for trunk? H.J. -- PR debug/79342 * dwarf2out.c (save_macinfo_strings): Call set_indirect_string on DW_MACINFO_start_file for -gspli