LLDB mainline
DumpRegisterValue.h
Go to the documentation of this file.
1//===-- DumpRegisterValue.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_DUMPREGISTERVALUE_H
10#define LLDB_CORE_DUMPREGISTERVALUE_H
11
13#include <cstdint>
14
15namespace lldb_private {
16
17class ExecutionContextScope;
18class RegisterValue;
19struct RegisterInfo;
20class Stream;
21
22// The default value of 0 for reg_name_right_align_at means no alignment at
23// all.
24void DumpRegisterValue(const RegisterValue &reg_val, Stream *s,
25 const RegisterInfo *reg_info, bool prefix_with_name,
26 bool prefix_with_alt_name, lldb::Format format,
27 uint32_t reg_name_right_align_at = 0,
28 ExecutionContextScope *exe_scope = nullptr);
29
30} // namespace lldb_private
31
32#endif // LLDB_CORE_DUMPREGISTERVALUE_H
A class that represents a running process on the host machine.
void DumpRegisterValue(const RegisterValue &reg_val, Stream *s, const RegisterInfo *reg_info, bool prefix_with_name, bool prefix_with_alt_name, lldb::Format format, uint32_t reg_name_right_align_at=0, ExecutionContextScope *exe_scope=nullptr)
Format
Display format definitions.