Home
last modified time | relevance | path

Searched refs:var_ref (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DVSCode.cpp584 bool Variables::IsPermanentVariableReference(int64_t var_ref) { in IsPermanentVariableReference() argument
585 return var_ref >= PermanentVariableStartIndex; in IsPermanentVariableReference()
588 lldb::SBValue Variables::GetVariable(int64_t var_ref) const { in GetVariable()
589 if (IsPermanentVariableReference(var_ref)) { in GetVariable()
590 auto pos = expandable_permanent_variables.find(var_ref); in GetVariable()
594 auto pos = expandable_variables.find(var_ref); in GetVariable()
603 int64_t var_ref = GetNewVariableRefence(is_permanent); in InsertExpandableVariable() local
605 expandable_permanent_variables.insert(std::make_pair(var_ref, variable)); in InsertExpandableVariable()
607 expandable_variables.insert(std::make_pair(var_ref, variable)); in InsertExpandableVariable()
608 return var_ref; in InsertExpandableVariable()
H A DVSCode.h103 static bool IsPermanentVariableReference(int64_t var_ref);
113 lldb::SBValue GetVariable(int64_t var_ref) const;
H A Dlldb-vscode.cpp2955 int64_t var_ref = 0; in request_variables() local
2957 var_ref = g_vsc.variables.InsertExpandableVariable( in request_variables()
2961 variable, var_ref, var_ref != 0 ? var_ref : UINT64_MAX, hex, in request_variables()
/llvm-project-15.0.7/clang/tools/clang-fuzzer/proto-to-llvm/
H A Dloop_proto_to_llvm.cpp79 std::string var_ref = VarRefToString(os, x.varref()); in RvalueToString() local
81 os << val_var << " = load i32, i32* " << var_ref << "\n"; in RvalueToString()
126 std::string var_ref = VarRefToString(os, x.varref()); in operator <<() local
127 return os << "store i32 " << rvalue << ", i32* " << var_ref << "\n"; in operator <<()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/variables/
H A DTestVSCode_variables.py397 var_ref = temporary_expr_varref_dict[expandable_expression["name"]]
398 response = self.vscode.request_variables(var_ref)
413 var_ref = permanent_expr_varref_dict[expandable_expression["name"]]
414 response = self.vscode.request_variables(var_ref)