<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<div class="moz-cite-prefix">On 08/31/2017 09:09 AM, Sean Eveson via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAG5VgUfvEZCXFRY1hN3SStZG2_w5Q6=Srpas=8kyZRUyXPirYw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black">Hi All,</span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black"> </span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black">We have a local change in the
X86AsmPrinter that outputs a section containing metadata
on function stack
sizes. We use this to measure changes to stack size
between versions of the
compiler and it also allows our licensees to do the same
for their code.</span><span style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black"> </span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black">The section simply contains pairs
of function symbol references (8 byte) and stack sizes
(unsigned LEB128).</span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><span style="color:rgb(33,33,33)"><font
face="arial, helvetica, sans-serif"> <span></span></font></span></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black">We would like to upstream this
change as a PS4 only modification, or as a more general
cross platform one.</span></font></p>
</div>
</div>
</blockquote>
<br>
I'd certainly be interested in this, although I'd hope it were not
specific to x86.<br>
<br>
-Hal<br>
<br>
<blockquote
cite="mid:CAG5VgUfvEZCXFRY1hN3SStZG2_w5Q6=Srpas=8kyZRUyXPirYw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black"> </span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black">Would people be interested in (or
happy with) such a patch, target specific or otherwise?</span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black"> </span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
<p class="MsoNormal"><font face="arial, helvetica, sans-serif"><span
style="color:black">Thanks,</span><span
style="color:rgb(33,33,33)"><span></span></span></font></p>
</div>
<font face="arial, helvetica, sans-serif"><br clear="all">
</font>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div class="gmail_signature">
<div dir="ltr"><font face="arial, helvetica, sans-serif"><span
style="color:rgb(0,0,0);line-height:18.85px">Sean
Eveson</span><br
style="color:rgb(0,0,0);line-height:18.85px">
<span style="color:rgb(0,0,0);line-height:18.85px">SN
Systems - Sony Interactive Entertainment</span></font><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</body>
</html>