xref: /freebsd-src/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ABIX86.h (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1 //===-- X86.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 
14 class ABIX86 : public lldb_private::MCBasedABI {
15 public:
16   static void Initialize();
17   static void Terminate();
18 
19   uint32_t GetGenericNum(llvm::StringRef name) override;
20 
21 private:
22   using lldb_private::MCBasedABI::MCBasedABI;
23 };
24 #endif
25