LLDB mainline
DumpRegisterInfo.h
Go to the documentation of this file.
1//===-- DumpRegisterInfo.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_CORE_DUMPREGISTERINFO_H
10#define LLDB_CORE_DUMPREGISTERINFO_H
11
12#include <stdint.h>
13#include <utility>
14#include <vector>
15
16namespace lldb_private {
17
18class Stream;
19class RegisterContext;
20struct RegisterInfo;
21class RegisterFlags;
22
23void DumpRegisterInfo(Stream &strm, RegisterContext &ctx,
24 const RegisterInfo &info, uint32_t terminal_width);
25
26// For testing only. Use DumpRegisterInfo instead.
28 Stream &strm, const char *name, const char *alt_name, uint32_t byte_size,
29 const std::vector<const char *> &invalidates,
30 const std::vector<const char *> &read_from,
31 const std::vector<std::pair<const char *, uint32_t>> &in_sets,
32 const RegisterFlags *flags_type, uint32_t terminal_width);
33
34} // namespace lldb_private
35
36#endif // LLDB_CORE_DUMPREGISTERINFO_H
A stream class that can stream formatted output to a file.
Definition: Stream.h:28
A class that represents a running process on the host machine.
void DoDumpRegisterInfo(Stream &strm, const char *name, const char *alt_name, uint32_t byte_size, const std::vector< const char * > &invalidates, const std::vector< const char * > &read_from, const std::vector< std::pair< const char *, uint32_t > > &in_sets, const RegisterFlags *flags_type, uint32_t terminal_width)
void DumpRegisterInfo(Stream &strm, RegisterContext &ctx, const RegisterInfo &info, uint32_t terminal_width)