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

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


ruiu updated this revision to Diff 50466.
ruiu added a comment.

- .note.gnu.build-id should have SHF_ALLOC attribute. Otherwise I think the core file wouldn't contain the build ID.

- Use NT_GNU_BUILD_ID constant.


http://reviews.llvm.org/D18091

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Options.td
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Writer.cpp
  test/ELF/build-id.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18091.50466.patch
Type: text/x-patch
Size: 8194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160311/fdfa7e13/attachment.bin>


More information about the llvm-commits mailing list