[Lldb-commits] [lldb] [lldb] Improve error message in ResolveSDKPathFromDebugInfo (NFC) (PR #154607)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 21 09:03:11 PDT 2025
================
@@ -1039,7 +1039,12 @@ ResolveSDKPathFromDebugInfo(lldb_private::Target *target) {
SymbolFile *sym_file = exe_module_sp->GetSymbolFile();
if (!sym_file)
- return llvm::createStringError("Failed to get symbol file from module");
+ return llvm::createStringError("Failed to get symbol file from executable");
----------------
kastiglione wrote:
I don't see an existing place to test this `ResolveSDKPathFromDebugInfo`. It's a function used specifically by `AddClangModuleCompilationOptions`, which doesn't have any existing tests.
https://github.com/llvm/llvm-project/pull/154607
More information about the lldb-commits
mailing list