[PATCH] D54384: [llvm-objcopy] Add --build-id-link-dir flag

Jake Ehrlich via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 10 19:06:40 PST 2018


I started to rewrite it in terms of ELFFile. The main challenge nis dealing
with the Error object that we don't really care about.

On Sat, Nov 10, 2018, 6:05 PM Alexander Shaposhnikov via Phabricator <
reviews at reviews.llvm.org> wrote:

> alexshap added inline comments.
>
>
> ================
> Comment at: llvm/tools/llvm-objcopy/ELF/Note.h:22
> +
> +static const char *ELF_NOTE_GNU = "GNU";
> +
> ----------------
> alexshap wrote:
> > mcgrathr wrote:
> > > static is always superfluous inside an anonymous namespace.
> > > This should be `const char *const` or `constexpr` if LLVM allows newer
> C++.
> > > Except it's unused, so it shouldn't be here at all.
> > if i remember correctly the existing Visual Studio build bots were not
> happy with this, though things might have changed.
> (i meant "with this usage of constexpr")
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D54384
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181110/9259f4b5/attachment.html>


More information about the llvm-commits mailing list