10b57cec5SDimitry Andric //===-- CodeViewRegisterMapping.h -------------------------------*- C++ -*-===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric 95ffd83dbSDimitry Andric #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_CODEVIEWREGISTERMAPPING_H 105ffd83dbSDimitry Andric #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_CODEVIEWREGISTERMAPPING_H 110b57cec5SDimitry Andric 120b57cec5SDimitry Andric #include "llvm/DebugInfo/CodeView/CodeView.h" 13*fe013be4SDimitry Andric #include "llvm/TargetParser/Triple.h" 140b57cec5SDimitry Andric 150b57cec5SDimitry Andric namespace lldb_private { 160b57cec5SDimitry Andric namespace npdb { 170b57cec5SDimitry Andric 180b57cec5SDimitry Andric uint32_t GetLLDBRegisterNumber(llvm::Triple::ArchType arch_type, 190b57cec5SDimitry Andric llvm::codeview::RegisterId register_id); 20bdd1243dSDimitry Andric uint32_t GetRegisterSize(llvm::codeview::RegisterId register_id); 210b57cec5SDimitry Andric 220b57cec5SDimitry Andric } // namespace npdb 230b57cec5SDimitry Andric } // namespace lldb_private 240b57cec5SDimitry Andric 250b57cec5SDimitry Andric #endif 26