mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
[lldb] Show the DBGError if dsymForUUID can't find a dSYM
Show the user the DBGError (if available) when dsymForUUID fails. rdar://90949180 Differential revision: https://reviews.llvm.org/D123743
This commit is contained in:
@@ -6967,7 +6967,8 @@ bool ObjectFileMachO::LoadCoreFileImages(lldb_private::Process &process) {
|
||||
module_spec.GetFileSpec() = FileSpec(image.filename.c_str());
|
||||
}
|
||||
if (image.currently_executing) {
|
||||
Symbols::DownloadObjectAndSymbolFile(module_spec, true);
|
||||
Status error;
|
||||
Symbols::DownloadObjectAndSymbolFile(module_spec, error, true);
|
||||
if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) {
|
||||
process.GetTarget().GetOrCreateModule(module_spec, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user