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 | |
16 | namespace lldb_private { |
17 | |
18 | class Stream; |
19 | class RegisterContext; |
20 | struct RegisterInfo; |
21 | class RegisterFlags; |
22 | |
23 | void DumpRegisterInfo(Stream &strm, RegisterContext &ctx, |
24 | const RegisterInfo &info, uint32_t terminal_width); |
25 | |
26 | // For testing only. Use DumpRegisterInfo instead. |
27 | void DoDumpRegisterInfo( |
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 |
37 | |