[PATCH] D45784: [DEBUG_INFO, NVPTX] Fix relocation info.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 15:13:41 PDT 2018


But you have other locations inside of functions so I don't get it.

-eric

On Mon, Jul 30, 2018 at 3:12 PM Alexey Bataev via Phabricator <
reviews at reviews.llvm.org> wrote:

> ABataev added a comment.
>
> In https://reviews.llvm.org/D45784#1181119, @echristo wrote:
>
> > Can you explain this a bit more with some examples of wrong relocations?
> >
> > Thanks!
> >
> > -eric
>
>
> It is the requirement of the ptxas. The first function label must follow
> the debug location, otherwise ptxas is unable to generate correct relo info
> for functions.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D45784
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/7328f3f9/attachment.html>


More information about the llvm-commits mailing list