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

via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 16 15:49:35 PST 2025


================
@@ -99,8 +122,9 @@ Interpreter::UnaryConversion(lldb::ValueObjectSP valobj, uint32_t location) {
     }
   }
 
+  llvm::StringRef name = "result";
   if (in_type.IsArrayType())
-    valobj = ArrayToPointerConversion(*valobj, *m_exe_ctx_scope);
+    valobj = ArrayToPointerConversion(*valobj, *m_exe_ctx_scope, name);
----------------
cmtice wrote:

Accepted.

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


More information about the lldb-commits mailing list