Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:45

0001 //===-- DumpRegisterValue.h -------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_CORE_DUMPREGISTERVALUE_H
0010 #define LLDB_CORE_DUMPREGISTERVALUE_H
0011 
0012 #include "lldb/lldb-enumerations.h"
0013 #include "lldb/lldb-forward.h"
0014 #include <cstdint>
0015 
0016 namespace lldb_private {
0017 
0018 class ExecutionContextScope;
0019 class RegisterValue;
0020 struct RegisterInfo;
0021 class Stream;
0022 
0023 // The default value of 0 for reg_name_right_align_at means no alignment at
0024 // all.
0025 // Set print_flags to true to print register fields if they are available.
0026 // If you do so, target_sp must be non-null for it to work.
0027 void DumpRegisterValue(const RegisterValue &reg_val, Stream &s,
0028                        const RegisterInfo &reg_info, bool prefix_with_name,
0029                        bool prefix_with_alt_name, lldb::Format format,
0030                        uint32_t reg_name_right_align_at = 0,
0031                        ExecutionContextScope *exe_scope = nullptr,
0032                        bool print_flags = false,
0033                        lldb::TargetSP target_sp = nullptr);
0034 
0035 } // namespace lldb_private
0036 
0037 #endif // LLDB_CORE_DUMPREGISTERVALUE_H