[lld] [lld] check cache before real_path in loadDylib (PR #140791)
Daniel RodrÃguez Troitiño via llvm-commits
llvm-commits at lists.llvm.org
Fri May 23 08:22:45 PDT 2025
================
@@ -253,6 +265,7 @@ DylibFile *macho::loadDylib(MemoryBufferRef mbref, DylibFile *umbrella,
}
file =
make<DylibFile>(**result, umbrella, isBundleLoader, explicitlyLinked);
+ realfile = file;
----------------
drodriguez wrote:
Would something like `llvm::make_scope_exit([&]{ realfile = file; })` be OK to keep things organized? Would that work?
https://github.com/llvm/llvm-project/pull/140791
More information about the llvm-commits
mailing list