[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 12:10:24 PST 2021
hubert.reinterpretcast added a comment.
In D94670#2501886 <https://reviews.llvm.org/D94670#2501886>, @MaskRay wrote:
> So how does your example work?
It doesn't.
> .section .debug_info
That has to be
.dwsect 0x10000
>> On aix, the default c/c++ compiler is XLC. With that compiler, there is no assembly mode. XLC only has object mode, so it does not involve assembler to generate a object file.
>
> To be clear, you said XLC does not support assembly mode, but you'll implement something in `llvm/lib/MC`, then can this limitation be removed?
I'm not sure where your question is coming from. All released versions of XL C/C++, including the version with Clang front-end components, uses an IBM proprietary code generating back-end that is not based on LLVM.
> powerpc64-ibm-aix gas supports this:
>
> .long .Ldebug_info_end0 - .Ldebug_info_start0
> .Ldebug_info_start0:
> .short 4
> .Ldebug_info_end0:
Can you elaborate on how that snippet would end up placing the data in the appropriate XCOFF section?
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