[all-commits] [llvm/llvm-project] e98ab4: [lld][MachO] Fix --reproduce paths for non-global ...

Xiaoyang Gong via All-commits all-commits at lists.llvm.org
Thu Sep 17 06:54:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e98ab4afe7dfb83d66ddc80a3c81e471f240cc99
      https://github.com/llvm/llvm-project/commit/e98ab4afe7dfb83d66ddc80a3c81e471f240cc99
  Author: Xiaoyang Gong <xyg_aster at outlook.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Driver.h
    M lld/MachO/DriverUtils.cpp
    A lld/test/MachO/reproduce-search-paths.s
    M lld/test/MachO/reproduce.s

  Log Message:
  -----------
  [lld][MachO] Fix --reproduce paths for non-global symbol lists and SDK libraries/frameworks (#223687)

`--reproduce` currently has two path-rewriting problems:
1. Non-global symbol lists are included in the archive, but their paths
in the response file are not
     relativized.
2. SDK roots and library/framework search paths are relativized
independently. Since the driver does not
reroot relative search paths, replay can fail to find libraries or
frameworks inside the SDK.
  
This patch fixes both by relativizing non-global symbol-list paths and
resolving SDK prefixes before
  relativizing library/framework search paths.

---------

Co-authored-by: Vy Nguyen <1762963+oontvoo at users.noreply.github.com>



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