[Lldb-commits] [lldb] [LLDB] Add type casting to DIL, part 2 or 3 (PR #170332)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 11 01:57:04 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);
----------------
Michael137 wrote:
```suggestion
if (in_type.IsArrayType())
valobj = ArrayToPointerConversion(*valobj, *m_exe_ctx_scope, "result");
```
https://github.com/llvm/llvm-project/pull/170332
More information about the lldb-commits
mailing list