[lld-macho] Support lookup of dylibs in frameworks
authorJez Ng <jezng@fb.com>
Sun, 26 Jul 2020 19:46:46 +0000 (12:46 -0700)
committerJez Ng <jezng@fb.com>
Sun, 26 Jul 2020 19:46:46 +0000 (12:46 -0700)
commit9282d04e041c4dd21d3af8463e2cb30964a9272c
tree22d8164986e6196903428163712d46aaa922e14b
parentdf12524e6ba02d3eda975de4541f55e151074b07
[lld-macho] Support lookup of dylibs in frameworks

Needed for testing Objective-C programs (since e.g. Core
Foundation is a framework)

Reviewed By: #lld-macho, compnerd

Differential Revision: https://reviews.llvm.org/D83925
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/test/MachO/framework.s [new file with mode: 0644]