diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-04-14 16:52:38 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-04-14 16:54:00 -0700 |
commit | af91446aa2903324c81d9e0b0a8a9fc037edc1a4 (patch) | |
tree | ff1ccde41a665a0e86ee808230f74c38b87ec045 /lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | |
parent | 894a591cf6fc542e6fc5d84222c839495a3d832f (diff) | |
download | llvm-af91446aa2903324c81d9e0b0a8a9fc037edc1a4.zip llvm-af91446aa2903324c81d9e0b0a8a9fc037edc1a4.tar.gz llvm-af91446aa2903324c81d9e0b0a8a9fc037edc1a4.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index 8843dc8..f58adca 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -290,8 +290,11 @@ Status ProcessKDP::DoConnectRemote(llvm::StringRef remote_url) { } } if (!module_spec.GetSymbolFileSpec() || - !module_spec.GetSymbolFileSpec()) - Symbols::DownloadObjectAndSymbolFile(module_spec, true); + !module_spec.GetSymbolFileSpec()) { + Status symbl_error; + Symbols::DownloadObjectAndSymbolFile(module_spec, symbl_error, + true); + } if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { ModuleSP module_sp(new Module(module_spec)); |