[PATCH] D113073: [lld-macho] Cache library paths from findLibrary

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 3 13:53:00 PDT 2021


keith added a comment.

It looks like the issue is that there should be some caching on some of the system dylibs that are loaded. It appears we are currently doing about 760k `readFile`s but there are only 1500 unique ones. I'm preparing a patch for discussion that mirrors ld64's behavior to cache these as they read them


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