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

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 17 08:41:41 PST 2025


da-viper wrote:

> Is this patch inspired by some performance issues? It looks like that using llvm::StringRef in VariableDescription might be less 

`char *` gotten from any `SBAPI` functions are owned by the lldb process. and the `VariableDescription` still has a reference to `SBValue`

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


More information about the lldb-commits mailing list