]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/CodeViewRegisterMapping.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Plugins / SymbolFile / NativePDB / CodeViewRegisterMapping.h
1 //===-- CodeViewRegisterMapping.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_Plugins_SymbolFile_PDB_CodeViewRegisterMapping_h_
10 #define lldb_Plugins_SymbolFile_PDB_CodeViewRegisterMapping_h_
11
12 #include "llvm/ADT/Triple.h"
13 #include "llvm/DebugInfo/CodeView/CodeView.h"
14
15 namespace lldb_private {
16 namespace npdb {
17
18 uint32_t GetLLDBRegisterNumber(llvm::Triple::ArchType arch_type,
19                                llvm::codeview::RegisterId register_id);
20
21 } // namespace npdb
22 } // namespace lldb_private
23
24 #endif