<div dir="ltr">Awesome. Let me know if you need anything.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 31, 2018 at 1:38 PM Alexey Bataev <<a href="mailto:a.bataev@outlook.com">a.bataev@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<pre class="m_6792248623052224312moz-signature" cols="72">Ok, will try to implement it.
-------------
Best regards,
Alexey Bataev</pre>
<div class="m_6792248623052224312moz-cite-prefix">31.07.2018 16:35, Eric Christopher пишет:<br>
</div></div><div>
<blockquote type="cite">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Jul 31, 2018 at 6:23 AM Alexey Bataev <<a href="mailto:a.bataev@outlook.com" target="_blank">a.bataev@outlook.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>It requires .loc directive with fileref, line number and column number. Seems to me, line number and column number can be zeroed.</p>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<p>The function starting label is used to evaluate function relocation info and without this .loc directive the relocation info is incorrect. I can't say why it requires this directive for the initial label. All other labels inherit their location from the
 first following instruction, but not the very first one.</p>
</div>
</blockquote>
<div>Aha. I can make some sense of this then.</div>
<div><br>
</div>
<div>Let's just have a separate "emit file directive" (which looks like a .loc directive on nvptx here) as a "emit this before" rather than the full location. I think that makes a lot of sense.</div>
<div><br>
</div>
<div>Thoughts?</div>
<div><br>
</div>
<div>-eric <br>
</div>
</div>
</div>
</blockquote>
<br>
</div></blockquote></div>