//===-- ThreadSpec.h --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_TARGET_THREADSPEC_H #define LLDB_TARGET_THREADSPEC_H #include "lldb/Utility/StructuredData.h" #include "lldb/lldb-private.h" #include <string> namespace lldb_private { // Note: For now the thread spec has only fixed elements - // Thread ID // Thread Index // Thread Name // Thread Queue Name // // But if we need more generality, we can hang a key/value map off of this // structure. // That's why the thread matches spec test is done as a virtual method in // Thread::MatchesSpec, // since it is the native thread that would know how to interpret the keys. // I was going to do the Queue Name this way out of sheer orneriness, but that // seems a // sufficiently general concept, so I put it in here on its own. class ThreadSpec { … }; } // namespace lldb_private #endif // LLDB_TARGET_THREADSPEC_H