This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] DWARF: Add .debug_addr table header for dwarf_version >= 5.
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Apr 2018 18:00:37 +0200
- Subject: Re: [PATCH] DWARF: Add .debug_addr table header for dwarf_version >= 5.
- References: <1524928992-18156-1-git-send-email-mark@klomp.org>
> index d3d925d..51d0ca4 100644
> --- a/gcc/dwarf2out.c
> +++ b/gcc/dwarf2out.c
> @@ -31293,6 +31293,21 @@ dwarf2out_finish (const char *)
> }
>
> switch_to_section (debug_addr_section);
> + /* GNU DebugFission didn't have a header for .debug_addr. */
> + if (dwarf_version >= 5)
That sounds LLVMish... Did you mean -gsplit-dwarf instead?
--
Eric Botcazou