[all-commits] [llvm/llvm-project] f62f13: [lldb] Store the return SBValueList in the Command...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Feb 19 15:17:57 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f62f13d5db212b4bebe6fc143fb9827703e88dfd
https://github.com/llvm/llvm-project/commit/f62f13d5db212b4bebe6fc143fb9827703e88dfd
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-02-19 (Wed, 19 Feb 2025)
Changed paths:
M lldb/include/lldb/API/SBCommandReturnObject.h
M lldb/include/lldb/API/SBValue.h
M lldb/include/lldb/Interpreter/CommandReturnObject.h
M lldb/include/lldb/ValueObject/ValueObjectList.h
M lldb/source/API/SBCommandReturnObject.cpp
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/source/Commands/CommandObjectExpression.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/ValueObject/ValueObjectList.cpp
M lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
M lldb/test/API/commands/frame/var/TestFrameVar.py
M lldb/test/API/functionalities/target_var/TestTargetVar.py
Log Message:
-----------
[lldb] Store the return SBValueList in the CommandReturnObject (#127566)
There are a lot of lldb commands whose result is really one or more
ValueObjects that we then print with the ValueObjectPrinter. Now that we
have the ability to access the SBCommandReturnObject through a callback
(#125006), we can store the resultant ValueObjects in the return object,
allowing an IDE to access the SBValues and do its own rich formatting.
rdar://143965453
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list