LLDB  mainline
NativeRegisterContextFreeBSD.h
Go to the documentation of this file.
1 //===-- NativeRegisterContextFreeBSD.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 lldb_NativeRegisterContextFreeBSD_h
10 #define lldb_NativeRegisterContextFreeBSD_h
11 
13 
15 
16 namespace lldb_private {
17 namespace process_freebsd {
18 
19 class NativeProcessFreeBSD;
20 
22  : public virtual NativeRegisterContextRegisterInfo {
23 public:
24  // This function is implemented in the NativeRegisterContextFreeBSD_*
25  // subclasses to create a new instance of the host specific
26  // NativeRegisterContextFreeBSD. The implementations can't collide as only one
27  // NativeRegisterContextFreeBSD_* variant should be compiled into the final
28  // executable.
31  NativeThreadProtocol &native_thread);
32  virtual llvm::Error
34 
35 protected:
38 };
39 
40 } // namespace process_freebsd
41 } // namespace lldb_private
42 
43 #endif // #ifndef lldb_NativeRegisterContextFreeBSD_h
lldb_private::ArchSpec
Definition: ArchSpec.h:33
lldb_private::NativeThreadProtocol
Definition: NativeThreadProtocol.h:20
lldb_private::process_freebsd::NativeProcessFreeBSD
Definition: NativeProcessFreeBSD.h:30
lldb_private::process_freebsd::NativeRegisterContextFreeBSD::GetProcess
virtual NativeProcessFreeBSD & GetProcess()
Definition: NativeRegisterContextFreeBSD.cpp:23
lldb_private::process_freebsd::NativeRegisterContextFreeBSD::CopyHardwareWatchpointsFrom
virtual llvm::Error CopyHardwareWatchpointsFrom(NativeRegisterContextFreeBSD &source)=0
NativeRegisterContextRegisterInfo.h
lldb_private::NativeRegisterContextRegisterInfo
Definition: NativeRegisterContextRegisterInfo.h:18
NativeThreadProtocol.h
lldb::pid_t
uint64_t pid_t
Definition: lldb-types.h:85
lldb_private::process_freebsd::NativeRegisterContextFreeBSD
Definition: NativeRegisterContextFreeBSD.h:21
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
Error
llvm::Error Error
Definition: UdtRecordCompleter.cpp:29
lldb_private::process_freebsd::NativeRegisterContextFreeBSD::GetProcessPid
virtual ::pid_t GetProcessPid()
Definition: NativeRegisterContextFreeBSD.cpp:27
lldb_private::process_freebsd::NativeRegisterContextFreeBSD::CreateHostNativeRegisterContextFreeBSD
static NativeRegisterContextFreeBSD * CreateHostNativeRegisterContextFreeBSD(const ArchSpec &target_arch, NativeThreadProtocol &native_thread)