LLDB mainline
NativeRegisterContextWindows.h
Go to the documentation of this file.
1//===-- NativeRegisterContextWindows.h --------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef liblldb_NativeRegisterContextWindows_h_
10#define liblldb_NativeRegisterContextWindows_h_
11
15
16namespace lldb_private {
17
19
21 : public virtual NativeRegisterContextRegisterInfo {
22public:
23 static std::unique_ptr<NativeRegisterContextWindows>
25 NativeThreadProtocol &native_thread);
26
27 // MSVC compiler deletes the default constructor due to virtual inheritance.
28 // Explicitly defining it ensures the class remains constructible.
30
31protected:
33};
34
35} // namespace lldb_private
36
37#endif // liblldb_NativeRegisterContextWindows_h_
An architecture specification class.
Definition ArchSpec.h:31
NativeRegisterContextRegisterInfo(NativeThreadProtocol &thread, RegisterInfoInterface *register_info_interface)
Construct a NativeRegisterContextRegisterInfo, taking ownership of the register_info_interface pointe...
static std::unique_ptr< NativeRegisterContextWindows > CreateHostNativeRegisterContextWindows(const ArchSpec &target_arch, NativeThreadProtocol &native_thread)
A class that represents a running process on the host machine.
pthread_t thread_t
Definition lldb-types.h:58