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 RegisterValue; 18 struct RegisterInfo; 19 class Stream; 20 21 // The default value of 0 for reg_name_right_align_at means no alignment at 22 // all. 23 bool DumpRegisterValue(const RegisterValue ®_val, Stream *s, 24 const RegisterInfo *reg_info, bool prefix_with_name, 25 bool prefix_with_alt_name, lldb::Format format, 26 uint32_t reg_name_right_align_at = 0); 27 28 } // namespace lldb_private 29 30 #endif // LLDB_CORE_DUMPREGISTERVALUE_H 31