JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm:365
+ if (developer_dir.empty())
+ if (FileSpec fspec = HostInfo::GetShlibDir())
+ if (FileSystem::Instance().Exists(fspec)) {
----------------
aprantl wrote:
> JDevlieghere wrote:
> > Any reason you choose to leave this inline and not making it a separate
> > function? If we did we could also cache the result like we do for some of
> > the other paths.
> This function is going to be called at most ~7*2 times, once for each
> XcodeSDK kind * Internal. So caching isn't really relevant. i also would like
> to refactor the other function after this patch, which would make factoring
> this out first really awkward.
Sounds good!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81210/new/
https://reviews.llvm.org/D81210
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits