LLDB mainline
ValueObjectUpdater.h
Go to the documentation of this file.
1//===-- ValueObjectUpdater.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_VALUEOBJECTUPDATER_H
10#define LLDB_CORE_VALUEOBJECTUPDATER_H
11
13
14namespace lldb_private {
15
16/// A value object class that is seeded with the static variable value
17/// and it vends the user facing value object. If the type is dynamic it can
18/// vend the dynamic type. If this user type also has a synthetic type
19/// associated with it, it will vend the synthetic type. The class watches the
20/// process' stop ID and will update the user type when needed.
22 /// The root value object is the static typed variable object.
24 /// The user value object is the value object the user wants to see.
26 /// The stop ID that m_user_valobj_sp is valid for.
28
29public:
31
32 /// Gets the correct value object from the root object for a given process
33 /// stop ID. If dynamic values are enabled, or if synthetic children are
34 /// enabled, the value object that the user wants to see might change while
35 /// debugging.
37
39};
40
41} // namespace lldb_private
42
43#endif // LLDB_CORE_VALUEOBJECTUPDATER_H
A value object class that is seeded with the static variable value and it vends the user facing value...
lldb::ValueObjectSP m_user_valobj_sp
The user value object is the value object the user wants to see.
lldb::ProcessSP GetProcessSP() const
lldb::ValueObjectSP GetSP()
Gets the correct value object from the root object for a given process stop ID.
uint32_t m_stop_id
The stop ID that m_user_valobj_sp is valid for.
lldb::ValueObjectSP m_root_valobj_sp
The root value object is the static typed variable object.
#define UINT32_MAX
Definition: lldb-defines.h:19
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
Definition: lldb-forward.h:480
std::shared_ptr< lldb_private::Process > ProcessSP
Definition: lldb-forward.h:387