Djordje Todorovic via llvm-dev
2021-Apr-13 07:12 UTC
[llvm-dev] [YAML][DebugInfo] Split DWARF with YAML
Hi Xing, The same I've figured out when looking at DWARF implementation from ObjestYAML. Djordje ________________________________ From: Xing GUO <higuoxing at gmail.com> Sent: Tuesday, April 13, 2021 3:56 AM To: Djordje Todorovic <Djordje.Todorovic at syrmia.com> Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org>; jh7370.2008 <jh7370.2008 at my.bristol.ac.uk> Subject: Re: [llvm-dev] [YAML][DebugInfo] Split DWARF with YAML Hi Djordje, AFAIK, yaml2obj doesn't support writing "dwo" sections. It might be a good idea to add split DWARF support to yaml2obj. CC: James On 4/12/21, Djordje Todorovic via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hi folks, > > I was wondering if there is a way to write "dwo" (split dwarf) sections with > YAML. > Basically, the yaml2obj tool would parse such file by using the ObjestYAML > library. > > It is needed for some testing purposes. > > Best regards, > Djordje >-- Cheers, Xing -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210413/84148fe6/attachment.html>
James Henderson via llvm-dev
2021-Apr-19 10:53 UTC
[llvm-dev] [YAML][DebugInfo] Split DWARF with YAML
Right, as Xing mentioned, I don't think any support has been added to yaml2obj for the .dwo sections yet. You might be able to workaround it by pretending they are regular DWARF sections and then using llvm-objcopy to rename the necessary sections, but I would think adding yaml2obj support would be the better option. James On Tue, 13 Apr 2021 at 08:12, Djordje Todorovic < Djordje.Todorovic at syrmia.com> wrote:> Hi Xing, > > The same I've figured out when looking at DWARF implementation from > ObjestYAML. > > Djordje > ------------------------------ > *From:* Xing GUO <higuoxing at gmail.com> > *Sent:* Tuesday, April 13, 2021 3:56 AM > *To:* Djordje Todorovic <Djordje.Todorovic at syrmia.com> > *Cc:* LLVM Developers Mailing List <llvm-dev at lists.llvm.org>; jh7370.2008 > <jh7370.2008 at my.bristol.ac.uk> > *Subject:* Re: [llvm-dev] [YAML][DebugInfo] Split DWARF with YAML > > Hi Djordje, > > AFAIK, yaml2obj doesn't support writing "dwo" sections. It might be a > good idea to add split DWARF support to yaml2obj. > > CC: James > > On 4/12/21, Djordje Todorovic via llvm-dev <llvm-dev at lists.llvm.org> > wrote: > > Hi folks, > > > > I was wondering if there is a way to write "dwo" (split dwarf) sections > with > > YAML. > > Basically, the yaml2obj tool would parse such file by using the > ObjestYAML > > library. > > > > It is needed for some testing purposes. > > > > Best regards, > > Djordje > > > > > -- > Cheers, > Xing >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210419/df6a793e/attachment.html>