[PATCH] D94670: [DebugInfo][NFC] add a new DIE type to represent label + offset
    ChenZheng via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jan 15 16:53:30 PST 2021
    
    
  
shchenz added a comment.
Thanks for your review @MaskRay 
Also thanks Hubert for your good comments. @hubert.reinterpretcast
> So how does your example work?
Sorry for causing confusion. That is a pseudo example.
> 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?
Yes, as Hubert said, IBM XLC/C++ backend is not based on llvm. It only has object mode.
> 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.
Ha, I am not allowed to touch gcc source code, so I can not provide the instructions. Supplement to Hubert's explanation: There is some documentation about XCOFF format, like https://www.ibm.com/support/knowledgecenter/ssw_aix_72/filesreference/XCOFF.html and there are some explanations for dwarf sections in it.
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