[PATCH] D79832: Initial commit for the elf x86 implementation for jitlink

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sat May 30 18:16:11 PDT 2020


Thanks Dave!

-- Lang.

On Tue, May 26, 2020 at 12:32 PM David Blaikie via Phabricator <
reviews at reviews.llvm.org> wrote:

> dblaikie added inline comments.
>
>
> ================
> Comment at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:100
> +        Value = SymRef.getValue();
> +        LLVM_DEBUG({
> +          dbgs() << "  ";
> ----------------
> abhinavgaba wrote:
> > `Binding` and `Value` are read only inside this `LLVM_DEBUG`, making
> them unread if debug messages are disabled.
> >
> >   error: variable ‘Binding’ set but not used
> [-Werror=unused-but-set-variable]
> Usually easier to commit fixes for things like this directly, rather than
> going through a round of feedback, waiting for someone to fix, etc.
>
> I've fixed this in fca76b79456c916fd2ce193ef76d6e795bd9c105
>
>
> Repository:
>   rG LLVM Github Monorepo
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D79832/new/
>
> https://reviews.llvm.org/D79832
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200530/a0d8b11c/attachment.html>


More information about the llvm-commits mailing list