Re: AIX DWARF debugging sections

David Edelsohn
2015-10-06T16:55:32Z

On Tue, Oct 6, 2015 at 12:51 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> > Because the AIX section does not use the standard name, I am unsure
>> > which it represents. The documentation only states "dwmac", which
>> > could expand to either name.
>> >
>> > Thanks, David
>>
>> Yeah, I think we need to figure out which one it is.
>
> That's what I have been trying to do, but I don't see any evidence
> that GCC emits it, or that binutils handles it. So the answer must
> lie somewhere on the system side. David?

GCC emits it when -g3 is enabled. Ldebug_macinfo vs Ldebug_macro is
controlled by dwarf_strict. The current GCC support for DWARF in AIX
uses the same section name for both.

I am asking the XLC team what they produce for the section.

Thanks, David