Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:44

0001 //===-- DumpRegisterInfo.h --------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_CORE_DUMPREGISTERINFO_H
0010 #define LLDB_CORE_DUMPREGISTERINFO_H
0011 
0012 #include <stdint.h>
0013 #include <utility>
0014 #include <vector>
0015 
0016 namespace lldb_private {
0017 
0018 class Stream;
0019 class RegisterContext;
0020 struct RegisterInfo;
0021 class RegisterFlags;
0022 
0023 void DumpRegisterInfo(Stream &strm, RegisterContext &ctx,
0024                       const RegisterInfo &info, uint32_t terminal_width);
0025 
0026 // For testing only. Use DumpRegisterInfo instead.
0027 void DoDumpRegisterInfo(
0028     Stream &strm, const char *name, const char *alt_name, uint32_t byte_size,
0029     const std::vector<const char *> &invalidates,
0030     const std::vector<const char *> &read_from,
0031     const std::vector<std::pair<const char *, uint32_t>> &in_sets,
0032     const RegisterFlags *flags_type, uint32_t terminal_width);
0033 
0034 } // namespace lldb_private
0035 
0036 #endif // LLDB_CORE_DUMPREGISTERINFO_H