| 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 "Plugins/ABI/X86/ABIX86.h" |
| 13 |
|
| 14 |
class ABIX86_64 : public ABIX86 { |
| 15 |
protected: |
| 16 |
std::string GetMCName(std::string name) override { |
| 17 |
MapRegisterName(name, "stmm", "st"); |
| 18 |
return name; |
| 19 |
} |
| 20 |
|
| 21 |
private: |
| 22 |
using ABIX86::ABIX86; |
| 23 |
}; |
| 24 |
|
| 25 |
#endif // LLDB_SOURCE_PLUGINS_ABI_X86_ABIX86_64_H |