<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body 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>
    <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. <br>
    </p>
    <pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
    <div class="moz-cite-prefix">30.07.2018 18:24, Eric Christopher
      пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALehDX72GkXjYBbxtxi5eO+uO6UnQfx1o0mJ6XQtEyfPHX0-Uw@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <br>
        <div class="gmail_quote">
          <div dir="ltr">On Mon, Jul 30, 2018 at 3:21 PM Alexey Bataev
            via Phabricator <<a
              href="mailto:reviews@reviews.llvm.org"
              moz-do-not-send="true">reviews@reviews.llvm.org</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">ABataev
            added a comment.<br>
            <br>
            nvcc always emits debug location before the very first label
            that represents function start. So, we can consider this as
            the requirement for NVPTX.<br>
          </blockquote>
          <div><br>
          </div>
          <div>Any debug location? Just a file location? Something else?</div>
          <div><br>
          </div>
          <div>If you take a look at a normal ELF file it actually has
            implications on how the line table both works and is
            encoded. It becomes a more global location.</div>
          <div><br>
          </div>
          <div> </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>