[PATCH] D113073: [lld-macho] Cache library paths from findLibrary
    Jez Ng via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov  2 19:15:37 PDT 2021
    
    
  
int3 added inline comments.
================
Comment at: lld/MachO/Driver.cpp:85-106
+  CachedHashStringRef key(name);
+  auto entry = resolvedLibraries.find(key);
+  if (entry != resolvedLibraries.end())
+    return entry->second;
+
   if (config->searchDylibsFirst) {
     if (Optional<StringRef> path = findPathCombination(
----------------
oontvoo wrote:
> 
what value does the lambda add here?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113073/new/
https://reviews.llvm.org/D113073
    
    
More information about the llvm-commits
mailing list