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 12 #include "lldb/lldb-enumerations.h" 13 #include <cstdint> 14 15 namespace lldb_private { 16 17 class ExecutionContextScope; 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 void DumpRegisterValue(const RegisterValue ®_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 33