aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2025-08-21 13:23:38 -0700
committerGitHub <noreply@github.com>2025-08-21 13:23:38 -0700
commita447fc63f9b7add22eaa693e9ea8925402af04b7 (patch)
tree861182913a9082b1b5ee78e11ea46806095a2f56 /lldb/packages/Python/lldbsuite/test
parenta64e6f49284a7ffd5401183d0e94a94a7de39cfb (diff)
downloadllvm-a447fc63f9b7add22eaa693e9ea8925402af04b7.zip
llvm-a447fc63f9b7add22eaa693e9ea8925402af04b7.tar.gz
llvm-a447fc63f9b7add22eaa693e9ea8925402af04b7.tar.bz2
[lldb] Improve error message in ResolveSDKPathFromDebugInfo (NFC) (#154607)
While debugging, I saw a log line of: > Failed to resolve SDK path: Error while searching for SDK (XcodeSDK ''): Unrecognized SDK type: Looking into how this might happen, it seems `ResolveSDKPathFromDebugInfo` appears to (implicitly) assume there's at least one compile unit. This change adds a precondition to return a meaningful error when there are no compile units. Original: https://github.com/llvm/llvm-project/pull/146062
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions