[lld/mac] Implement support for searching dylibs with @rpath/ in install name
authorNico Weber <thakis@chromium.org>
Mon, 7 Jun 2021 01:52:23 +0000 (21:52 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 7 Jun 2021 10:22:52 +0000 (06:22 -0400)
commitc5ffe9798850a699c2229899712ca9d153f2a4b8
tree919c5bc0e74df575d75202c66447ca9c5d8bdae1
parentaa0d7179bbb3fd24bc9eb1fd6203565dbd50e8d8
[lld/mac] Implement support for searching dylibs with @rpath/ in install name

Also adjust a few comments, and move the DylibFile comment talking about
umbrella next to the parameter again.

Differential Revision: https://reviews.llvm.org/D103783
lld/MachO/DriverUtils.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputFiles.h
lld/test/MachO/link-search-at-rpath.s [new file with mode: 0644]
lld/test/MachO/rpath.s