[lldb] Fix log & progress report for in-memory binaries
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 21 Mar 2022 22:21:10 +0000 (15:21 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 21 Mar 2022 22:35:21 +0000 (15:35 -0700)
commit3323321f4ef04308c50a3dc4ad17dfa1e13d8477
tree191f2ec13966fc42179216c38bf928fbe18b22a5
parentcff34ccb605aa78030cd51cfe44362ed1c1fb80b
[lldb] Fix log & progress report for in-memory binaries

Fix the log and progress report message for in-memory binaries. If
there's no object file, use the name from the Module. With this patch we
correctly show the library name when attaching to a remote process
without an expanded shared cache.

Differential revision: https://reviews.llvm.org/D122177
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp