[Lldb-commits] [lldb] [LLDB] Add type casting to DIL, part 2 or 3 (PR #170332)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 3 17:24:53 PST 2025
================
@@ -21,6 +21,42 @@
namespace lldb_private::dil {
+lldb::ValueObjectSP
+GetDynamicOrSyntheticValue(lldb::ValueObjectSP in_valobj_sp,
+ lldb::DynamicValueType use_dynamic,
+ bool use_synthetic) {
+ Status error;
+ if (!in_valobj_sp) {
+ error = Status("invalid value object");
----------------
adrian-prantl wrote:
is this even used?
Should the function return `llvm::Expected<ValueObjectSP>` instead?
https://github.com/llvm/llvm-project/pull/170332
More information about the lldb-commits
mailing list