[all-commits] [llvm/llvm-project] e385ec: [lld-macho] Don't double emit reexported libraries...

Leonard Grey via All-commits all-commits at lists.llvm.org
Fri Mar 21 06:32:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e385ec90e2cbc6398cc6f445d995cf875bbc15b2
      https://github.com/llvm/llvm-project/commit/e385ec90e2cbc6398cc6f445d995cf875bbc15b2
  Author: Leonard Grey <lgrey at chromium.org>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M lld/MachO/Writer.cpp
    M lld/test/MachO/sub-library.s

  Log Message:
  -----------
  [lld-macho] Don't double emit reexported libraries (#132275)

When a library is specified with both `-l` and `-reexport_libraries`,
lld will emit two load commands for it, in contrast with ld64.
In an upcoming version of macOS, this fails dyld validation; see
https://crbug.com/404905688

---------

Co-authored-by: Mark Rowe <markrowe at chromium.org>>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list