• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- AArch64.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_AARCH64_ABIAARCH64_H
10 #define LLDB_SOURCE_PLUGINS_ABI_AARCH64_ABIAARCH64_H
11 
12 #include "lldb/Target/ABI.h"
13 
14 class ABIAArch64: public lldb_private::MCBasedABI {
15 public:
16   static void Initialize();
17   static void Terminate();
18 
19 protected:
20   std::pair<uint32_t, uint32_t>
21   GetEHAndDWARFNums(llvm::StringRef name) override;
22 
23   std::string GetMCName(std::string reg) override;
24 
25   uint32_t GetGenericNum(llvm::StringRef name) override;
26 
27   using lldb_private::MCBasedABI::MCBasedABI;
28 };
29 #endif
30