<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'll try with the llvm-objcopy, but I don't think we can workaround all the features from the split DWARF...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
><span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:15px;background-color:rgb(255, 255, 255);display:inline !important">but
 I would think adding yaml2obj support would be the better option</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I agree. We can add a TODO there. Unfortunately, I don't have time to add such thing, but I'd be happy if someone picks that implementation. :)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Djordje</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> James Henderson <jh7370.2008@my.bristol.ac.uk><br>
<b>Sent:</b> Monday, April 19, 2021 12:53 PM<br>
<b>To:</b> Djordje Todorovic <Djordje.Todorovic@syrmia.com><br>
<b>Cc:</b> Xing GUO <higuoxing@gmail.com>; LLVM Developers Mailing List <llvm-dev@lists.llvm.org><br>
<b>Subject:</b> Re: [llvm-dev] [YAML][DebugInfo] Split DWARF with YAML</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>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.</div>
<div><br>
</div>
<div>James<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, 13 Apr 2021 at 08:12, Djordje Todorovic <<a href="mailto:Djordje.Todorovic@syrmia.com">Djordje.Todorovic@syrmia.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Xing,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The same I've figured out when looking at DWARF implementation from <span style="font-size:14.6667px; background-color:rgb(255,255,255); display:inline">ObjestYAML.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:14.6667px; background-color:rgb(255,255,255); display:inline"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:14.6667px; background-color:rgb(255,255,255); display:inline">Djordje</span></div>
<div id="x_gmail-m_-2040889897586564473appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_-2040889897586564473divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xing GUO <<a href="mailto:higuoxing@gmail.com" target="_blank">higuoxing@gmail.com</a>><br>
<b>Sent:</b> Tuesday, April 13, 2021 3:56 AM<br>
<b>To:</b> Djordje Todorovic <<a href="mailto:Djordje.Todorovic@syrmia.com" target="_blank">Djordje.Todorovic@syrmia.com</a>><br>
<b>Cc:</b> LLVM Developers Mailing List <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>>; jh7370.2008 <<a href="mailto:jh7370.2008@my.bristol.ac.uk" target="_blank">jh7370.2008@my.bristol.ac.uk</a>><br>
<b>Subject:</b> Re: [llvm-dev] [YAML][DebugInfo] Split DWARF with YAML</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>Hi Djordje,<br>
<br>
AFAIK, yaml2obj doesn't support writing "dwo" sections. It might be a<br>
good idea to add split DWARF support to yaml2obj.<br>
<br>
CC: James<br>
<br>
On 4/12/21, Djordje Todorovic via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> Hi folks,<br>
><br>
> I was wondering if there is a way to write "dwo" (split dwarf) sections with<br>
> YAML.<br>
> Basically, the yaml2obj tool would parse such file by using the ObjestYAML<br>
> library.<br>
><br>
> It is needed for some testing purposes.<br>
><br>
> Best regards,<br>
> Djordje<br>
><br>
<br>
<br>
-- <br>
Cheers,<br>
Xing<br>
</div>
</span></font></div>
</div>
</blockquote>
</div>
</div>
</body>
</html>