Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lld/MachO/DriverUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,8 @@ DylibFile *macho::loadDylib(MemoryBufferRef mbref, DylibFile *umbrella,
}

if (explicitlyLinked && !newFile->allowableClients.empty()) {
bool allowed = std::any_of(
newFile->allowableClients.begin(), newFile->allowableClients.end(),
[&](StringRef allowableClient) {
bool allowed =
llvm::any_of(newFile->allowableClients, [&](StringRef allowableClient) {
// We only do a prefix match to match LD64's behaviour.
return allowableClient.starts_with(config->clientName);
});
Expand Down
Loading