]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.h
Fix a memory leak in if_delgroups() introduced in r334118.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Plugins / Process / Utility / RegisterContextOpenBSD_i386.h
1 //===-- RegisterContextOpenBSD_i386.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_RegisterContextOpenBSD_i386_H_
10 #define liblldb_RegisterContextOpenBSD_i386_H_
11
12 #include "RegisterInfoInterface.h"
13
14 class RegisterContextOpenBSD_i386 : public lldb_private::RegisterInfoInterface {
15 public:
16   RegisterContextOpenBSD_i386(const lldb_private::ArchSpec &target_arch);
17
18   size_t GetGPRSize() const override;
19
20   const lldb_private::RegisterInfo *GetRegisterInfo() const override;
21
22   uint32_t GetRegisterCount() const override;
23 };
24
25 #endif