[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / lldb / tools / debugserver / source / MacOSX / ThreadInfo.h
blob592d50fd4284d95d0b3dfb4b1819537ee5ed39fc
1 //===-- ThreadInfo.h -----------------------------------------------*- C++
2 //-*-===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_TOOLS_DEBUGSERVER_SOURCE_MACOSX_THREADINFO_H
11 #define LLDB_TOOLS_DEBUGSERVER_SOURCE_MACOSX_THREADINFO_H
13 namespace ThreadInfo {
15 class QoS {
16 public:
17 QoS() : constant_name(), printable_name(), enum_value(UINT32_MAX) {}
18 bool IsValid() { return enum_value != UINT32_MAX; }
19 std::string constant_name;
20 std::string printable_name;
21 uint32_t enum_value;
25 #endif // LLDB_TOOLS_DEBUGSERVER_SOURCE_MACOSX_THREADINFO_H