[all-commits] [llvm/llvm-project] 1aafaa: [lld/mac] Implement support for -mark_dead_strippa...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Mar 10 06:03:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1aafaaca6717d2cf3084e4ba38bde63f619dca90
      https://github.com/llvm/llvm-project/commit/1aafaaca6717d2cf3084e4ba38bde63f619dca90
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/MachO/SyntheticSections.cpp
    M lld/test/MachO/header.s
    A lld/test/MachO/mark-dead-strippable-dylib.s

  Log Message:
  -----------
  [lld/mac] Implement support for -mark_dead_strippable_dylib

lld doesn't read MH_DEAD_STRIPPABLE_DYLIB to strip dead dylibs yet,
but now it can produce dylibs with it set.

While here, also switch an existing test that looks only at the main Mach-O
header from --all-headers to --private-header.

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




More information about the All-commits mailing list