================
@@ -148,6 +150,32 @@ class Value {
   static ValueType GetValueTypeFromAddressType(AddressType address_type);
 
 protected:
+  /// Represents a value, which can be a scalar, a load address, a file 
address,
+  /// or a host address.
+  ///
+  /// The interpretation of `m_value` depends on `m_value_type`:
+  /// - Scalar: `m_value` contains the scalar value.
+  /// - Load Address: `m_value` contains the load address.
+  /// - File Address: `m_value` contains the file address.
+  /// - Host Address: `m_value` contains a pointer to the start of the buffer 
in
+  /// host memory.
----------------
JDevlieghere wrote:

```suggestion
  /// - Scalar: `m_value` contains the scalar value.
  /// - Load Address: `m_value` contains the load address.
  /// - File Address: `m_value` contains the file address.
  /// - Host Address: `m_value` contains a pointer to the start of the buffer in
  ///    host memory.
```

https://github.com/llvm/llvm-project/pull/124971
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to