================
@@ -182,16 +182,19 @@ class LLDB_API SBFrame {
// expression result and is not a constant object like
// SBFrame::EvaluateExpression(...) returns, but a child object of the
// variable value.
- lldb::SBValue
- GetValueForVariablePath(const char *var_expr_cstr,
- DynamicValueType use_dynamic,
- lldb::DILMode mode = lldb::eDILModeFull);
+ lldb::SBValue GetValueForVariablePath(const char *var_path,
+ DynamicValueType use_dynamic);
/// The version that doesn't supply a 'use_dynamic' value will use the
/// target's default.
- lldb::SBValue
- GetValueForVariablePath(const char *var_path,
- lldb::DILMode mode = lldb::eDILModeFull);
+ lldb::SBValue GetValueForVariablePath(const char *var_path);
+
+ lldb::SBValue GetValueForVariablePathWithMode(const char *var_path,
----------------
da-viper wrote:
Yes, to distinguish between
```cpp
GetValueForVariablePath(const char *, lldb::DILMode);
GetValueForVariablePath(const char *, DynamicValueType);
```
which translates in python as
```
GetValueForVariablePath(str, int)
GetValueForVariablePath(str, int)
```
https://github.com/llvm/llvm-project/pull/218565
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits