Commit a2f55fd
[lldb] Fix a regression in SBValue::GetObjectDescription() (llvm#117242)
The old behavior was to return a null string in the error case,when
refactoring the error handling I thought it would be a good idea to
print the error in the description, but that breaks clients that try to
print a description first and then do something else in the error case.
The API is not great but it's clear that in-band errors are also not a
good idea.
rdar://133956263
(cherry picked from commit 7553fb1)
Conflicts:
lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
(cherry picked from commit 091aa23)1 parent f31ba45 commit a2f55fd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments