[Lldb-commits] [lldb] [lldb] Add `scripting extension list --instances` (PR #226043)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 6 17:58:59 PDT 2026
================
@@ -101,8 +109,37 @@ class ScriptedInterface {
}
protected:
+ void RegisterInstance(const lldb::ScriptedInstanceRegistrySP ®istry_sp,
+ llvm::StringRef class_name, FileSpec source_path,
+ StructuredData::DictionarySP args_sp) {
+ UnregisterInstance();
----------------
JDevlieghere wrote:
Does this actually do anything or is this being overly defensive? This seems like it should be an assert that checks we're not already registered?
https://github.com/llvm/llvm-project/pull/226043
More information about the lldb-commits
mailing list