[Lldb-commits] [lldb] [lldb-dap] Avoid unnecessary allocations when creating variables. (PR #172661)

Sergei Druzhkov via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 17 08:28:26 PST 2025


https://github.com/DrSergei approved this pull request.

Is this patch inspired by some performance issues? It looks like that using `llvm::StringRef` in `VariableDescription` might be less safe. Maybe we can add getters for fields which directly obtained from SBValue. It is just some thoughts, feel free to ignore it. Overall, LGTM

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


More information about the lldb-commits mailing list