/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | ValueObjectMemory.cpp | 61 m_value.SetContext(Value::ContextType::LLDBType, m_type_sp.get()); in ValueObjectMemory() 65 m_value.SetValueType(Value::ValueType::LoadAddress); in ValueObjectMemory() 66 m_value.GetScalar() = load_address; in ValueObjectMemory() 70 m_value.SetValueType(Value::ValueType::FileAddress); in ValueObjectMemory() 71 m_value.GetScalar() = file_address; in ValueObjectMemory() 73 m_value.GetScalar() = m_address.GetOffset(); in ValueObjectMemory() 74 m_value.SetValueType(Value::ValueType::Scalar); in ValueObjectMemory() 92 m_value.SetCompilerType(m_compiler_type); in ValueObjectMemory() 95 m_value.SetValueType(Value::ValueType::LoadAddress); in ValueObjectMemory() 96 m_value.GetScalar() = load_address; in ValueObjectMemory() [all …]
|
H A D | ValueObjectChild.cpp | 109 m_value.SetCompilerType(GetCompilerType()); in UpdateValue() 113 m_value.GetScalar() = parent->GetValue().GetScalar(); in UpdateValue() 114 m_value.SetValueType(parent->GetValue().GetValueType()); in UpdateValue() 122 m_value.GetScalar() = parent->GetPointerValue(); in UpdateValue() 128 m_value.SetValueType(Value::ValueType::LoadAddress); in UpdateValue() 130 m_value.SetValueType(Value::ValueType::FileAddress); in UpdateValue() 133 m_value.SetValueType(is_instance_ptr_base in UpdateValue() 138 m_value.SetValueType(Value::ValueType::HostAddress); in UpdateValue() 142 m_value.SetValueType(Value::ValueType::Scalar); in UpdateValue() 146 switch (m_value.GetValueType()) { in UpdateValue() [all …]
|
H A D | Value.cpp | 42 Value::Value() : m_value(), m_compiler_type(), m_data_buffer() {} in Value() 45 : m_value(scalar), m_compiler_type(), m_data_buffer() {} in Value() 48 : m_value(), m_compiler_type(), m_value_type(ValueType::HostAddress), in Value() 54 : m_value(v.m_value), m_compiler_type(v.m_compiler_type), in Value() 58 (uintptr_t)v.m_value.ULongLong(LLDB_INVALID_ADDRESS); in Value() 64 m_value = (uintptr_t)m_data_buffer.GetBytes(); in Value() 70 m_value = rhs.m_value; in operator =() 76 (uintptr_t)rhs.m_value in operator =() [all...] |
H A D | ValueObjectConstResult.cpp | 76 m_value.GetScalar() = (uintptr_t)m_data.GetDataStart(); in ValueObjectConstResult() 77 m_value.SetValueType(Value::ValueType::HostAddress); in ValueObjectConstResult() 78 m_value.SetCompilerType(compiler_type); in ValueObjectConstResult() 118 m_value.GetScalar() = (uintptr_t)data_sp->GetBytes(); in ValueObjectConstResult() 119 m_value.SetValueType(Value::ValueType::HostAddress); in ValueObjectConstResult() 120 m_value.SetCompilerType(compiler_type); in ValueObjectConstResult() 146 m_value.GetScalar() = address; in ValueObjectConstResult() 148 m_value.GetScalar().GetData(m_data, addr_byte_size); in ValueObjectConstResult() 152 m_value.SetValueType(Value::ValueType::Scalar); in ValueObjectConstResult() 155 m_value.SetValueType(Value::ValueType::FileAddress); in ValueObjectConstResult() [all …]
|
H A D | ValueObjectCast.cpp | 37 m_value.SetCompilerType(cast_type); in ValueObjectCast() 55 return m_value.GetValueByteSize(nullptr, &exe_ctx); in GetByteSize() 68 Value old_value(m_value); in UpdateValue() 70 m_value = m_parent->GetValue(); in UpdateValue() 72 m_value.SetCompilerType(compiler_type); in UpdateValue() 78 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue() 79 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue() 82 m_error = m_value.GetValueAsData(&exe_ctx, m_data, GetModule().get()); in UpdateValue()
|
H A D | ValueObjectVariable.cpp | 142 m_value.SetBytes(m_data.GetDataStart(), m_data.GetByteSize()); in UpdateValue() 143 m_value.SetContext(Value::ContextType::Variable, variable); in UpdateValue() 166 Value old_value(m_value); in UpdateValue() 171 m_value = *maybe_value; in UpdateValue() 172 m_resolved_value = m_value; in UpdateValue() 173 m_value.SetContext(Value::ContextType::Variable, variable); in UpdateValue() 177 m_value.SetCompilerType(compiler_type); in UpdateValue() 179 Value::ValueType value_type = m_value.GetValueType(); in UpdateValue() 195 if (size_t value_buf_size = m_value.GetBuffer().GetByteSize()) { in UpdateValue() 196 size_t value_size = m_value.GetValueByteSize(&m_error, &exe_ctx); in UpdateValue() [all …]
|
H A D | ValueObjectVTable.cpp | 51 m_value.Clear(); in UpdateValue() 90 m_value.SetValueType(Value::ValueType::LoadAddress); in UpdateValue() 91 m_value.GetScalar() = vtable_entry_addr; in UpdateValue() 102 m_value.SetCompilerType(function->GetCompilerType().GetPointerType()); in UpdateValue() 114 m_value.SetCompilerType( in UpdateValue() 128 m_error = m_value.GetValueAsData(&exe_ctx, m_data, GetModule().get()); in UpdateValue() 136 return m_value.GetCompilerType(); in GetCompilerTypeImpl() 255 m_value.SetValueType(Value::ValueType::LoadAddress); in UpdateValue() 256 m_value.GetScalar() = parent->GetAddressOf(); in UpdateValue() 260 m_value.SetCompilerType( in UpdateValue()
|
H A D | ValueObjectDynamicValue.cpp | 44 return m_value.GetCompilerType(); in GetCompilerTypeImpl() 105 return m_value.GetValueByteSize(nullptr, &exe_ctx); in GetByteSize() 219 Value old_value(m_value); in UpdateValue() 246 m_value.GetScalar() = load_address; in UpdateValue() 253 m_value.SetCompilerType(m_dynamic_type_info.GetCompilerType()); in UpdateValue() 255 m_value.SetValueType(value_type); in UpdateValue() 264 m_error = m_value.GetValueAsData(&exe_ctx, m_data, GetModule().get()); in UpdateValue() 270 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue() 271 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFFormValue.cpp | 28 m_value = ValueTypeTag(); in Clear() 38 m_value.data = nullptr; in ExtractValue() 47 m_value.value.uval = in ExtractValue() 51 m_value.value.uval = data.GetU8(offset_ptr); in ExtractValue() 55 m_value.value.uval = data.GetU16(offset_ptr); in ExtractValue() 59 m_value.value.uval = data.GetU32(offset_ptr); in ExtractValue() 63 m_value.value.uval = 16; in ExtractValue() 68 m_value.value.uval = data.GetULEB128(offset_ptr); in ExtractValue() 72 m_value.value.cstr = data.GetCStr(offset_ptr); in ExtractValue() 75 m_value in ExtractValue() [all...] |
H A D | DWARFFormValue.h | 52 const ValueType &Value() const { return m_value; } in SetValue() 53 ValueType &ValueRef() { return m_value; } 54 void SetValue(const ValueType &val) { m_value = val; } 70 bool Boolean() const { return m_value.value.uval != 0; } in IsValid() 71 uint64_t Unsigned() const { return m_value.value.uval; } 72 void SetUnsigned(uint64_t uval) { m_value.value.uval = uval; } 73 int64_t Signed() const { return m_value.value.sval; } 74 void SetSigned(int64_t sval) { m_value.value.sval = sval; } 90 // Compile unit where m_value was located. 91 // It may be different from compile unit where m_value refer 87 ValueType m_value; // Contains all data for the form global() variable [all...] |
H A D | DWARFAttribute.h | 25 : m_attr(attr), m_form(form), m_value(value) {} in get_attr() 29 DWARFFormValue::ValueType get_value() const { return m_value; } in get() 34 val = m_value; 40 DWARFFormValue::ValueType m_value; 37 DWARFFormValue::ValueType m_value; global() variable
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Predicate.h | 48 Predicate() : m_value() {} in Predicate() 57 Predicate(T initial_value) : m_value(initial_value) {} in Predicate() 73 T value = m_value; in GetValue() 96 const T old_value = m_value; in SetValue() 97 m_value = value; in SetValue() 125 auto RealCond = [&] { return Cond(m_value); }; in WaitFor() 128 return m_value; in WaitFor() 131 return m_value; in WaitFor() 193 T m_value; ///< The templatized value T that we are protecting access to 216 ((broadcast_type == eBroadcastOnChange) && old_value != m_value); in Broadcast() [all …]
|
H A D | StructuredData.h | 307 m_value(i) {} 310 void SetValue(N value) { m_value = value; } in AddItem() 312 N GetValue() { return m_value; } in AddIntegerItem() 315 s.value(static_cast<N>(m_value)); in AddIntegerItem() 320 static_cast<N>(m_value)); in AddIntegerItem() 324 N m_value; in AddStringItem() 331 : Object(lldb::eStructuredDataTypeFloat), m_value(d) {} 335 void SetValue(double value) { m_value = value; } 337 double GetValue() { return m_value; } 344 double m_value; [all...] |
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | UnwindPlan.h | 208 FAValue() : m_value() {} in FAValue() 220 m_value.ra_search_offset = offset; in SetRaSearch() 229 m_value.reg.reg_num = reg_num; in SetIsRegisterPlusOffset() 230 m_value.reg.offset = offset; in SetIsRegisterPlusOffset() 239 m_value.reg.reg_num = reg_num; in SetIsRegisterDereferenced() 246 m_value.expr.opcodes = opcodes; in SetIsDWARFExpression() 247 m_value.expr.length = len; in SetIsDWARFExpression() 252 return m_value.reg.reg_num; in GetRegisterNumber() 261 return m_value.reg.offset; in GetOffset() 263 return m_value.ra_search_offset; in GetOffset() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | ThreadSafeValue.h | 21 ThreadSafeValue(const T &value) : m_value(value) {} in ThreadSafeValue() 29 value = m_value; in GetValue() 36 const T &GetValueNoLock() const { return m_value; } in GetValueNoLock() 40 m_value = value; in SetValue() 46 void SetValueNoLock(const T &value) { m_value = value; } in SetValueNoLock() 51 T m_value;
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | OptionGroupBoolean.cpp | 21 : m_value(default_value, default_value) { in OptionGroupBoolean() 43 m_value.SetCurrentValue(!m_value.GetDefaultValue()); in SetOptionValue() 44 m_value.SetOptionWasSet(); in SetOptionValue() 46 error = m_value.SetValueFromString(option_value); in SetOptionValue() 53 m_value.Clear(); in OptionParsingStarting()
|
H A D | OptionGroupString.cpp | 22 : m_value(default_value, default_value) { in OptionGroupString() 38 Status error(m_value.SetValueFromString(option_arg)); in SetOptionValue() 44 m_value.Clear(); in OptionParsingStarting()
|
H A D | OptionGroupUInt64.cpp | 22 : m_value(default_value, default_value) { in OptionGroupUInt64() 38 Status error(m_value.SetValueFromString(option_arg)); in SetOptionValue() 44 m_value.Clear(); in OptionParsingStarting()
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | UnwindPlan.cpp | 174 return m_value.ra_search_offset == rhs.m_value.ra_search_offset; in operator ==() 177 return m_value.reg.offset == rhs.m_value.reg.offset; in operator ==() 180 return m_value.reg.reg_num == rhs.m_value.reg.reg_num; in operator ==() 183 if (m_value.expr.length == rhs.m_value.expr.length) in operator ==() 184 return !memcmp(m_value.expr.opcodes, rhs.m_value.expr.opcodes, in operator ==() 185 m_value.expr.length); in operator ==() 196 DumpRegisterName(s, unwind_plan, thread, m_value.reg.reg_num); in Dump() 197 s.Printf("%+3d", m_value.reg.offset); in Dump() 201 DumpRegisterName(s, unwind_plan, thread, m_value.reg.reg_num); in Dump() 205 DumpDWARFExpr(s, llvm::ArrayRef(m_value.expr.opcodes, m_value.expr.length), in Dump() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | StopInfo.cpp | 36 m_resume_id(thread.GetProcess()->GetResumeID()), m_value(value), in StopInfo() 111 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in StoreBPInfo() 142 process_sp->GetBreakpointSiteList().FindByID(m_value)); in IsValidForOperatingSystemThread() 157 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in ShouldStopSynchronous() 169 __FUNCTION__, m_value); in ShouldStopSynchronous() 189 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in GetDescription() 236 m_value); in GetDescription() 240 m_value, m_address); in GetDescription() 280 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in PerformAction() 582 __FUNCTION__, m_value); in PerformAction() [all …]
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | map.c | 42 void *m_value; member 59 me->m_value = value; in new_entry() 88 return me->m_value; in atf_map_citer_data() 132 return me->m_value; in atf_map_iter_data() 210 free(me->m_value); in atf_map_fini() 368 free(me->m_value); in atf_map_insert() 371 me->m_value = value; in atf_map_insert()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | OptionGroupBoolean.h | 39 OptionValueBoolean &GetOptionValue() { return m_value; } in GetOptionValue() 41 const OptionValueBoolean &GetOptionValue() const { return m_value; } in GetOptionValue() 44 OptionValueBoolean m_value;
|
H A D | OptionGroupString.h | 36 OptionValueString &GetOptionValue() { return m_value; } in GetOptionValue() 38 const OptionValueString &GetOptionValue() const { return m_value; } in GetOptionValue() 41 OptionValueString m_value;
|
H A D | OptionGroupUInt64.h | 37 OptionValueUInt64 &GetOptionValue() { return m_value; } in GetOptionValue() 39 const OptionValueUInt64 &GetOptionValue() const { return m_value; } in GetOptionValue() 42 OptionValueUInt64 m_value;
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | StructuredData.cpp | 152 s.value(m_value); in Serialize() 156 s.value(m_value); in Serialize() 160 s.value(m_value); in Serialize() 192 s.Printf("%f", m_value); 196 s.Printf(m_value ? "True" : "False"); in GetDescription() 200 s.Printf("%s", m_value.empty() ? "\"\"" : m_value.c_str()); in GetDescription()
|