llvm-project
e98ab4af - [lld][MachO] Fix --reproduce paths for non-global symbol lists and SDK libraries/frameworks (#223687)

Commit
20 days ago
[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@users.noreply.github.com>
Author
Parents
Loading