[Lldb-commits] [lldb] [lldb] Fix ProcessProperties reading the wrong experimental collection (PR #218939)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 27 11:58:37 PDT 2026


================
@@ -370,26 +369,26 @@ Args ProcessProperties::GetAlwaysRunThreadNames() const {
   return args;
 }
 
+OptionValueProperties *ProcessProperties::GetExperimentalProperties() const {
+  const Property *exp_property =
+      m_collection_sp->GetProperty(Properties::GetExperimentalSettingsName());
+  if (!exp_property)
+    return nullptr;
+  return exp_property->GetValue()->GetAsProperties();
----------------
JDevlieghere wrote:

```suggestion
  if (const Property *exp_property =
      m_collection_sp->GetProperty(Properties::GetExperimentalSettingsName()))
      return exp_property->GetValue()->GetAsProperties();
    return nullptr;
```

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


More information about the lldb-commits mailing list