When lldb is running on a userland corefile (the only case where DynamicLoaderMacOSX is still used today), lldb finds dyld in the corefile by exhaustive search, then reads the symbol table in the corefile to find the "dyld_all_image_infos" symbol. Using this object in the corefile, we can find the filepaths & load addresses of all other binaries.
This patch adds an additional fallback if we can't find the symbol name "dyld_all_image_infos" - by looking for the named section in dyld that is used specifically to identify this object. It is only used after the two function names we try have failed, at the point where we have no other possible ways to find the dyld_all_image_infos object in the corefile.