<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.msipheader87abd423, li.msipheader87abd423, div.msipheader87abd423
        {mso-style-name:msipheader87abd423;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="msipheader87abd423" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#317100">[AMD Public Use]</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Paul,<o:p></o:p></p>
<p class="MsoNormal">Almost all the text in the proposal is different to some extent to what is in the DWARF 5 spec. Some passages are clearly brought forward from the DWARF 5 spec, but generally needed changing to some extent to fit in with the new text. I
 did add “Notes” to tie each section back to the DWARF 5 spec that it modifies. Since the proposal is largely concerned with DWARF location descriptions and addresses it ended up touching a lot of places in the DWARF expression sections and the attributes that
 use them. Despite the size of the proposed changes, the intent is that it is fully backward compatible with DWARF 5.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Making comments in the review would likely be the easiest to track.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">-Tony<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> llvm-dev <llvm-dev-bounces@lists.llvm.org> <b>On Behalf Of
</b>Robinson, Paul via llvm-dev<br>
<b>Sent:</b> Tuesday, April 28, 2020 10:40 AM<br>
<b>To:</b> jh7370.2008@my.bristol.ac.uk; scott@scottlinder.com<br>
<b>Cc:</b> llvm-dev <llvm-dev@lists.llvm.org><br>
<b>Subject:</b> Re: [llvm-dev] [RFC] DWARF Version 6 Proposal For Heterogeneous Debugging<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[CAUTION: External Email] <o:p></o:p></p>
<div>
<p class="MsoNormal">Been meaning to get to this…  I have to say, it’s a big lump of text to take in.  Two general questions:  Did you still want comments posted on the review (D70523) or in some other fashion?  And, would it be possible to more clearly identify
 the new/changed bits of the sections that you are quoting from the spec?  When I see a bunch of familiar text I’m inclined to skim over it, which means I’m likely to miss something that just has that subtle “New” on it.  Maybe you could put a Note at those
 points just to be a more obvious call-out.<o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">--paulr<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> James Henderson <<a href="mailto:jh7370.2008@my.bristol.ac.uk">jh7370.2008@my.bristol.ac.uk</a>>
<br>
<b>Sent:</b> Tuesday, April 28, 2020 3:34 AM<br>
<b>To:</b> <a href="mailto:scott@scottlinder.com">scott@scottlinder.com</a><br>
<b>Cc:</b> llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>>; Robinson, Paul <<a href="mailto:paul.robinson@sony.com">paul.robinson@sony.com</a>>; David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>>; Adrian
 Prantl <<a href="mailto:aprantl@apple.com">aprantl@apple.com</a>>; Jonas Devlieghere <<a href="mailto:jdevlieghere@apple.com">jdevlieghere@apple.com</a>>; Igor Kudrin <<a href="mailto:ikudrin@accesssoftek.com">ikudrin@accesssoftek.com</a>><br>
<b>Subject:</b> Re: [llvm-dev] [RFC] DWARF Version 6 Proposal For Heterogeneous Debugging<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Scott,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It's possible they've missed it, so I've explicitly CC'ed a number of the usual DWARF suspects, at least some of whom are on the standards committee. I don't have anything specific to add myself.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">James<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, 27 Apr 2020 at 15:25, via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal">I don't know what an acceptable ping rate on an RFC is, but I also
<br>
wanted to add that if anyone prefers to review this on Phabricator the <br>
latest diff of <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Freviews.llvm.org%2FD70523__%3B!!JmoZiZGBv3RvKRSx!tpmHtMZselmOKP-gUwNy5yEJqQ_f_dbyWAOGEyGoz6JRi6wyQbvO6D26MI8JC_ekBA%24&data=02%7C01%7Ctony.tye%40amd.com%7C573f5e4eb8044a93728e08d7eb82185a%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637236816295633562&sdata=Xea3dSFq2f%2BeYWgU0MgStVKpS40Gma2EUuhoFoMrFYk%3D&reserved=0" target="_blank">
https://reviews.llvm.org/D70523</a> essentially includes the <br>
entire contents of the proposal, because it was moved to another file.<br>
<br>
Thanks,<br>
Scott<br>
<br>
On 2020-04-17 19:10, Scott Linder via llvm-dev wrote:<br>
> Hi llvm-dev,<br>
> <br>
> I'm writing on behalf of a team at AMD working on upstreaming support<br>
> for AMD GPUs into GDB. We have drafted a proposal of backwards<br>
> compatible extensions to DWARF for heterogeneous debugging which is<br>
> rendered at<br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fllvm.org%2Fdocs%2FAMDGPUDwarfProposalForHeterogeneousDebugging.html__%3B!!JmoZiZGBv3RvKRSx!tpmHtMZselmOKP-gUwNy5yEJqQ_f_dbyWAOGEyGoz6JRi6wyQbvO6D26MI9jIuimFA%24&data=02%7C01%7Ctony.tye%40amd.com%7C573f5e4eb8044a93728e08d7eb82185a%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637236816295633562&sdata=v7aYdGa%2BWFPU%2B5DXfjEF4L6quyz7Gmm46tjYIQrFdSU%3D&reserved=0" target="_blank">
https://llvm.org/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.html</a>.<br>
> <br>
> The proposal includes a thorough introduction with justification, so I<br>
> won't belabor that here, but I do want to reiterate that the extensions<br>
> are designed to be vendor and architecture neutral, and completely<br>
> backwards compatible with DWARF 5.<br>
> <br>
> I am beginning to work on a reference implementation of the proposal in<br>
> LLVM, with some very preliminary support appearing in some patches<br>
> starting at <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Freviews.llvm.org%2FD76877__%3B!!JmoZiZGBv3RvKRSx!tpmHtMZselmOKP-gUwNy5yEJqQ_f_dbyWAOGEyGoz6JRi6wyQbvO6D26MI-GI5zmzA%24&data=02%7C01%7Ctony.tye%40amd.com%7C573f5e4eb8044a93728e08d7eb82185a%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637236816295643518&sdata=LjRVy7nvATi%2BwWm6vqNf5NB%2FALTcvl0PdA2rgUDPnqA%3D&reserved=0" target="_blank">
https://reviews.llvm.org/D76877</a>. Note that most of these<br>
> initial patches are AMDGPU-specific CFI changes, and more general<br>
> support for the extensions are still a WIP.<br>
> <br>
> I intended to also include the proposal inline, but it appears to be <br>
> too<br>
> large for the list. Instead I will just mention that the source is<br>
> available in the llvm-project repo as<br>
> llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst<br>
> <br>
> Regards,<br>
> Scott<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Flists.llvm.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fllvm-dev__%3B!!JmoZiZGBv3RvKRSx!tpmHtMZselmOKP-gUwNy5yEJqQ_f_dbyWAOGEyGoz6JRi6wyQbvO6D26MI9jFtexOA%24&data=02%7C01%7Ctony.tye%40amd.com%7C573f5e4eb8044a93728e08d7eb82185a%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637236816295643518&sdata=Db9cVEy1PrFny%2F7pvj5fydkyO3sNfOzvZ7kyRREngJE%3D&reserved=0" target="_blank">
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Flists.llvm.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fllvm-dev__%3B!!JmoZiZGBv3RvKRSx!tpmHtMZselmOKP-gUwNy5yEJqQ_f_dbyWAOGEyGoz6JRi6wyQbvO6D26MI9jFtexOA%24&data=02%7C01%7Ctony.tye%40amd.com%7C573f5e4eb8044a93728e08d7eb82185a%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637236816295653470&sdata=8zAiw%2BnKM55xbNFsfZTzHp9aZSJxVIWRG5AZq4N4UeY%3D&reserved=0" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>