xref: /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ABIX86.h (revision 349cc55c9796c4596a5b9904cd3281af295f878f)
1 //===-- ABIX86.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_SOURCE_PLUGINS_ABI_X86_ABIX86_H
10 #define LLDB_SOURCE_PLUGINS_ABI_X86_ABIX86_H
11 
12 #include "lldb/Target/ABI.h"
13 #include "lldb/lldb-private.h"
14 
15 class ABIX86 : public lldb_private::MCBasedABI {
16 public:
17   static void Initialize();
18   static void Terminate();
19 
20 protected:
21   void AugmentRegisterInfo(
22       std::vector<lldb_private::DynamicRegisterInfo::Register> &regs) override;
23 
24 private:
25   using lldb_private::MCBasedABI::MCBasedABI;
26 };
27 
28 #endif
29