[PATCH] D94670: [DebugInfo][NFC] add a new DIE type to represent label + offset

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 13:34:06 PST 2021


hubert.reinterpretcast added a comment.

In D94670#2501886 <https://reviews.llvm.org/D94670#2501886>, @MaskRay wrote:

> Seems that the error is expected, as `gas/config/tc-ppc.c` says:

In case the code you mentioned is GPL-licensed, I would ask that you understand that there are developers within the LLVM community that would prefer to minimize their exposure to GPL-licensed code.

> Finally, can you provide instructions building a cross compiling GCC for AIX? I want to try out a freely accessible compiler to get the larger picture of the debug info support on AIX.

I'm not sure that would give an accurate picture of debug info support on AIX. Since the XCOFF object format has not defined new DWARF sections from DWARF Version 5, GCC can generate DWARF 5 "assembly" that (afaik) no assembler would consume. Namely:

- DWARF sections in AIX assembly use the `.dwsect` syntax.
- DWARF sections were added with AIX 7.1 and GNU `as` has not been updated to support AIX 7 (https://gcc.gnu.org/install/specific.html#x-ibm-aix).
- When using the `.dwsect` syntax for a section that is not currently defined for XCOFF, GCC uses a section name in place of a flag value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94670/new/

https://reviews.llvm.org/D94670



More information about the llvm-commits mailing list