LLDB  mainline
ABIX86_64.h
Go to the documentation of this file.
1 //===-- ABIX86_64.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_64_H
10 #define LLDB_SOURCE_PLUGINS_ABI_X86_ABIX86_64_H
11 
12 #include "lldb/Target/ABI.h"
13 #include "lldb/lldb-private.h"
14 
16 protected:
18  MapRegisterName(name, "stmm", "st");
19  return name;
20  }
21 
22 private:
23  using lldb_private::MCBasedABI::MCBasedABI;
24 };
25 
26 #endif // LLDB_SOURCE_PLUGINS_ABI_X86_ABIX86_64_H
lldb_private::MCBasedABI
Definition: ABI.h:172
ABI.h
string
string(SUBSTRING ${p} 10 -1 pStripped) if($
Definition: Plugins/CMakeLists.txt:39
ABIX86_64
Definition: ABIX86_64.h:15
lldb-private.h
ABIX86_64::GetMCName
std::string GetMCName(std::string name) override
For the given (capitalized) lldb register name, return the name of this register in the MCRegisterInf...
Definition: ABIX86_64.h:17
lldb_private::MCBasedABI::MapRegisterName
static void MapRegisterName(std::string &reg, llvm::StringRef from_prefix, llvm::StringRef to_prefix)
If the register name is of the form "<from_prefix>[<number>]" then change the name to "<to_prefix>[<n...
Definition: ABI.cpp:265