[all-commits] [llvm/llvm-project] b3e790: [llvm-readobj] Exclude Mach-O dylib IDs from neede...

Tianyi Chen via All-commits all-commits at lists.llvm.org
Thu Sep 10 03:30:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3e7900e74098de130402d0a3ea857e77d817540
      https://github.com/llvm/llvm-project/commit/b3e7900e74098de130402d0a3ea857e77d817540
  Author: Tianyi Chen <diannaaav at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M llvm/test/tools/llvm-readobj/MachO/needed-libs.test
    M llvm/tools/llvm-readobj/MachODumper.cpp

  Log Message:
  -----------
  [llvm-readobj] Exclude Mach-O dylib IDs from needed libraries (#221618)

For Mach-O files, `--needed-libs` includes `LC_ID_DYLIB`, causing a
dynamic
library to list its own install name as a dependency.

Exclude this command while retaining the actual dependency load
commands.

Fixes #39505.

Assisted-by: OpenAI Codex (implementation, tests, and initial
description).



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