[Lldb-commits] [lldb] [LLDB] Add type casting to DIL, part 2 or 3 (PR #170332)

via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 8 20:55:04 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");
----------------
cmtice wrote:

No it's not really needed;  I've removed it.

https://github.com/llvm/llvm-project/pull/170332


More information about the lldb-commits mailing list