[PATCH] D114910: [ELF] Discard input .note.gnu.build-id even with default --build-id=none

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 1 20:37:42 PST 2021


ikudrin accepted this revision.
ikudrin added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: lld/test/ELF/relocatable-build-id.s:8
+## The default --build-id=none removes .note.gnu.build-id input sections.
+# RUN: ld.lld -o %t.none %t2.o
+# RUN: llvm-readelf -S %t.none | FileCheck %s --check-prefix=NO
----------------
I'd prefer to have an additional test with an explicit `--build-id=none` here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114910/new/

https://reviews.llvm.org/D114910



More information about the llvm-commits mailing list