[PATCH] D18091: ELF: Implement --build-id.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 12:37:08 PST 2016


Please synchronize your LLVM repository. (Or replace NT_GNU_BUILD_ID with
3.)

On Fri, Mar 11, 2016 at 12:33 PM, Ed Maste <emaste at freebsd.org> wrote:

> emaste added inline comments.
>
> ================
> Comment at: ELF/OutputSections.cpp:1543
> @@ +1542,3 @@
> +  write32<E>(Buf + 4, sizeof(Hash));    // Content size
> +  write32<E>(Buf + 8, NT_GNU_BUILD_ID); // Type
> +  memcpy(Buf + 12, "GNU", 4);           // Name string
> ----------------
> Where is this defined (maybe I haven't updated something)?
>
> ```
> ../tools/lld/ELF/OutputSections.cpp:1562:23: error: use of undeclared
> identifier 'NT_GNU_BUILD_ID'
>   write32<E>(Buf + 8, NT_GNU_BUILD_ID); // Type (NT_GNU_BUILD_ID = 3)
> ```
>
>
>
> http://reviews.llvm.org/D18091
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160311/6b404bc9/attachment.html>


More information about the llvm-commits mailing list