[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 21 10:11:24 PDT 2025
================
@@ -232,3 +232,46 @@ lldb::SBScriptObject SBStructuredData::GetGenericValue() const {
return {m_impl_up->GetGenericValue(), eScriptLanguageDefault};
}
+
+void SBStructuredData::SetValueForKey(const char *key,
+ SBStructuredData &value) {
+ LLDB_INSTRUMENT_VA(this, key, value);
+
+ m_impl_up->SetValueForKey(key, value.m_impl_up->GetObjectSP());
----------------
jimingham wrote:
If we do think that's okay, then we should test that explicitly to make sure it isn't causing trouble.
https://github.com/llvm/llvm-project/pull/154445
More information about the lldb-commits
mailing list