[all-commits] [llvm/llvm-project] dbd04b: [ELF] Support --package-metadata

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Aug 8 14:33:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbd04b853b680b0a383e5f58edf3643364f67bdf
      https://github.com/llvm/llvm-project/commit/dbd04b853b680b0a383e5f58edf3643364f67bdf
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/Options.td
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    M lld/docs/ReleaseNotes.rst
    A lld/test/ELF/package-metadata.s
    M llvm/include/llvm/BinaryFormat/ELF.h

  Log Message:
  -----------
  [ELF] Support --package-metadata

This was recently introduced in GNU linkers and it makes sense for
ld.lld to have the same support. This implementation omits checking if
the input string is valid json to reduce size bloat.

Differential Revision: https://reviews.llvm.org/D131439




More information about the All-commits mailing list