[Lldb-commits] [lldb] Add option to pass thread ID to thread select command (PR #73596)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 29 20:43:22 PST 2023


================
@@ -1296,10 +1296,11 @@ enum CompletionType {
   eRemoteDiskFileCompletion = (1u << 22),
   eRemoteDiskDirectoryCompletion = (1u << 23),
   eTypeCategoryNameCompletion = (1u << 24),
+  eThreadIDCompletion = (1u << 25),
----------------
clayborg wrote:

Public enums are part of our public API, we can't add new values in the middle, we must always add them to the end. If someone compiled against an older LLDB, they would have 25 meaning `eCustomCompletion`, but if the re-link allowing the above change it would now mean `eThreadIDCompletion`

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


More information about the lldb-commits mailing list