]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/Core/DumpRegisterValue.h
Merge clang 7.0.1 and several follow-up changes
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / Core / DumpRegisterValue.h
1 //===-- DumpRegisterValue.h -------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLDB_CORE_DUMPREGISTERVALUE_H
11 #define LLDB_CORE_DUMPREGISTERVALUE_H
12
13 #include "lldb/lldb-enumerations.h"
14 #include <cstdint>
15
16 namespace lldb_private {
17
18 class RegisterValue;
19 struct RegisterInfo;
20 class Stream;
21
22 // The default value of 0 for reg_name_right_align_at means no alignment at
23 // all.
24 bool 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
29 } // namespace lldb_private
30
31 #endif // LLDB_CORE_DUMPREGISTERVALUE_H