[Lldb-commits] [lldb] [LLDB][SaveCore] Add SBCoreDumpOptions Object, and SBProcess::SaveCore() overload (PR #98403)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 14:10:43 PDT 2024


================
@@ -639,6 +640,18 @@ static ObjectFileInstances &GetObjectFileInstances() {
   return g_instances;
 }
 
+bool PluginManager::IsRegisteredPluginName(const char *name) {
+  if (!name || !name[0])
----------------
clayborg wrote:

Ask the `llvm::StringRef` if is it empty:
```
if (name.empty())
```

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


More information about the lldb-commits mailing list