[PATCH, Darwin, config] Check for DWARF debug line support with otool.
Jeff Law
law@redhat.com
Sun Dec 23 16:25:00 GMT 2018
On 12/23/18 4:53 AM, Iain Sandoe wrote:
> Hi,
>
> This corrects a long-standing misconfiguration for Darwin.
> The assembler supports the â.fileâ and â.locâ directives, but
> the GCC configury was not detecting this because it was
> using objdump, which does not exist on most Darwin installations.
>
> We added support for âotoolâ to GCC and now we can use that to
> make the check thatâs done with objdump on ELF targets.
>
> OK for trunk?
> Iain
>
> gcc/
>
> * configure.ac (dwarf2_debug_line): Check for the debug_line
> section using otool when thereâs no objdump available.
> * configure: Regenerate.
OK
jeff
More information about the Gcc-patches
mailing list