[Lldb-commits] [lldb] [lldb] Add SBStructuredData::GetStringValue overload (PR #216875)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 18 11:15:28 PDT 2026
================
@@ -272,7 +272,7 @@ void SBStructuredData::SetBooleanValue(bool value) {
void SBStructuredData::SetStringValue(const char *value) {
LLDB_INSTRUMENT_VA(this, value);
- m_impl_up->SetStringValue(value);
+ m_impl_up->SetStringValue(llvm::StringRef(value));
----------------
da-viper wrote:
same as above and also prevents the crash when `value == nullptr`
https://github.com/llvm/llvm-project/pull/216875
More information about the lldb-commits
mailing list