Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/CodeViewRegisterMapping.h
96380 views
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_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_CODEVIEWREGISTERMAPPING_H
10
#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_CODEVIEWREGISTERMAPPING_H
11
12
#include "llvm/DebugInfo/CodeView/CodeView.h"
13
#include "llvm/TargetParser/Triple.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
uint32_t GetRegisterSize(llvm::codeview::RegisterId register_id);
21
22
} // namespace npdb
23
} // namespace lldb_private
24
25
#endif
26
27