[Lldb-commits] [lldb] [lldb] Add ReadCStrings API to Process (PR #172026)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 17 02:01:00 PST 2025
felipepiovezan wrote:
@jasonmolenda @medismailben @DavidSpickett
I really don't think using SBValues is the right approach here, this is fundamentally an abstraction about language objects and types; it does not model the idea of "read a string from memory". Yes, it would solve the error problem, but at the wrong abstraction level, which I think is a bigger sin.
If I understand correctly, both @jasonmolenda and @DavidSpickett are fine with the SBStringList approach, but @medismailben is not. @medismailben, do you have any alternatives that would not involve using the compiler type system here?
https://github.com/llvm/llvm-project/pull/172026
More information about the lldb-commits
mailing list