lld: add basic static library search
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 3 Jun 2020 19:20:35 +0000 (19:20 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 3 Jun 2020 23:32:05 +0000 (23:32 +0000)
commit116e38fd8b89fb20279cbf7edb4a49a7ab5c7764
tree290449662d5493bcbffb4f739833eec671d82a43
parent291dabefde01eae7473da224b49f6359766e0663
lld: add basic static library search

This is a very basic static library search addition. This is the pre-Xcode4
behaviour of searching all paths for the shared version before searching for
the static version of the library. This behaviour is supposed to be inverted
with `-search_paths_first` being the default. This adds the library search
with the intention of providing the setup to merge the paths into one path
and making it controllable by `OPT_search_paths_first`.
lld/MachO/Driver.cpp
lld/test/MachO/static-link.s [new file with mode: 0644]