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

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 10 18:05:23 PST 2018


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





More information about the llvm-commits mailing list