[Lldb-commits] [lldb] [lldb] Add completions for plugin list/enable/disable (PR #147775)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 15 09:13:41 PDT 2025


================
@@ -1321,10 +1321,11 @@ enum CompletionType {
   eTypeCategoryNameCompletion = (1ul << 24),
   eCustomCompletion = (1ul << 25),
   eThreadIDCompletion = (1ul << 26),
+  eManagedPluginCompletion = (1ul << 27),
   // This last enum element is just for input validation.
   // Add new completions before this element,
   // and then increment eTerminatorCompletion's shift value
-  eTerminatorCompletion = (1ul << 27)
+  eTerminatorCompletion = (1ul << 28)
----------------
clayborg wrote:

This eTerminatorCompletion is not good as it will change and any older binaries that linked against a previous version of LLDB could now get `eManagedPluginCompletion` instead of `eTerminatorCompletion`. Can we remove the `eTerminatorCompletion`? It can cause API issues.

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


More information about the lldb-commits mailing list