Home
last modified time | relevance | path

Searched refs:raw_value (Results 1 – 15 of 15) sorted by relevance

/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp345 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
349 if (!reg_ctx.WriteRegisterFromUnsigned(reg_info, raw_value)) { in SetReturnValueObject()
358 raw_value >>= 32; in SetReturnValueObject()
361 if (!reg_ctx.WriteRegisterFromUnsigned(reg_info, raw_value)) { in SetReturnValueObject()
375 static void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument
376 raw_value &= std::numeric_limits<T>::max(); in SetInteger()
378 scalar = static_cast<typename std::make_signed<T>::type>(raw_value); in SetInteger()
380 scalar = static_cast<T>(raw_value); in SetInteger()
383 static bool SetSizedInteger(Scalar &scalar, uint64_t raw_value, in SetSizedInteger() argument
390 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp221 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
223 if (reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value)) in SetReturnValueObject()
226 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
228 if (reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value)) { in SetReturnValueObject()
231 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes - offset); in SetReturnValueObject() local
233 if (reg_ctx->WriteRegisterFromUnsigned(edx_info, raw_value)) in SetReturnValueObject()
291 uint64_t raw_value; in GetReturnValueObjectImpl() local
292 raw_value = in GetReturnValueObjectImpl()
295 raw_value |= in GetReturnValueObjectImpl()
300 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
[all …]
H A DABISysV_i386.cpp241 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
243 reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value); in SetReturnValueObject()
271 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
273 reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value); in SetReturnValueObject()
279 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
281 reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value); in SetReturnValueObject()
399 uint64_t raw_value = in GetReturnValueObjectSimple() local
402 raw_value |= in GetReturnValueObjectSimple()
418 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
420 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
[all …]
H A DABIWindows_x86_64.cpp335 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
337 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
422 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
431 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
433 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
439 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
441 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
447 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
449 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
455 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips.cpp701 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
703 if (reg_ctx->WriteRegisterFromUnsigned(r2_info, raw_value)) in SetReturnValueObject()
706 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
708 if (reg_ctx->WriteRegisterFromUnsigned(r2_info, raw_value)) { in SetReturnValueObject()
710 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes - offset); in SetReturnValueObject() local
712 if (reg_ctx->WriteRegisterFromUnsigned(r3_info, raw_value)) in SetReturnValueObject()
780 uint64_t raw_value; in GetReturnValueObjectImpl() local
781 raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT32_MAX; in GetReturnValueObjectImpl()
782 raw_value |= ((uint64_t)(reg_ctx->ReadRegisterAsUnsigned(r3_reg_info, 0) & in GetReturnValueObjectImpl()
786 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
[all …]
H A DABISysV_mips64.cpp663 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
665 if (!reg_ctx->WriteRegisterFromUnsigned(r2_info, raw_value)) in SetReturnValueObject()
668 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
669 if (reg_ctx->WriteRegisterFromUnsigned(r2_info, raw_value)) { in SetReturnValueObject()
672 raw_value = data.GetMaxU64(&offset, num_bytes - offset); in SetReturnValueObject()
674 if (!reg_ctx->WriteRegisterFromUnsigned(r3_info, raw_value)) in SetReturnValueObject()
737 uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_info, 0); in GetReturnValueObjectImpl() local
746 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
748 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
754 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp276 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() local
278 if (!reg_ctx->WriteRegisterFromUnsigned(x0_info, raw_value)) in SetReturnValueObject()
281 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
283 if (reg_ctx->WriteRegisterFromUnsigned(x0_info, raw_value)) { in SetReturnValueObject()
286 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
288 if (!reg_ctx->WriteRegisterFromUnsigned(x1_info, raw_value)) in SetReturnValueObject()
666 uint64_t raw_value = in GetReturnValueObjectImpl() local
712 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
714 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
720 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
[all …]
H A DABISysV_arm64.cpp249 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() local
251 if (!reg_ctx->WriteRegisterFromUnsigned(x0_info, raw_value)) in SetReturnValueObject()
254 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
256 if (reg_ctx->WriteRegisterFromUnsigned(x0_info, raw_value)) { in SetReturnValueObject()
259 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
261 if (!reg_ctx->WriteRegisterFromUnsigned(x1_info, raw_value)) in SetReturnValueObject()
637 uint64_t raw_value = in GetReturnValueObjectImpl() local
684 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
686 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
692 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.cpp1529 uint64_t raw_value; in GetReturnValueObjectImpl() local
1530 raw_value = reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX; in GetReturnValueObjectImpl()
1531 raw_value |= ((uint64_t)(reg_ctx->ReadRegisterAsUnsigned(r1_reg_info, 0) & in GetReturnValueObjectImpl()
1535 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
1537 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
1619 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
1621 if (reg_ctx->WriteRegisterFromUnsigned(r0_info, raw_value)) in SetReturnValueObject()
1624 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
1626 if (reg_ctx->WriteRegisterFromUnsigned(r0_info, raw_value)) { in SetReturnValueObject()
1628 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes - offset); in SetReturnValueObject() local
[all …]
H A DABISysV_arm.cpp1476 uint64_t raw_value; in GetReturnValueObjectImpl() local
1477 raw_value = reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX; in GetReturnValueObjectImpl()
1478 raw_value |= ((uint64_t)(reg_ctx->ReadRegisterAsUnsigned(r1_reg_info, 0) & in GetReturnValueObjectImpl()
1482 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
1484 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
1551 uint64_t raw_value; in GetReturnValueObjectImpl() local
1554 raw_value = in GetReturnValueObjectImpl()
1556 raw_value |= in GetReturnValueObjectImpl()
1560 value.GetScalar() = *reinterpret_cast<double *>(&raw_value); in GetReturnValueObjectImpl()
1575 uint32_t raw_value; in GetReturnValueObjectImpl() local
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp416 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
418 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
500 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
509 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
511 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
517 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
519 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
525 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
527 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
533 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp332 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
334 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
587 uint64_t raw_value; in GetIntegerValue() local
589 if (!reg.GetRawData(raw_value)) in GetIntegerValue()
601 value_sp->GetScalar() = (int64_t)(raw_value); in GetIntegerValue()
603 value_sp->GetScalar() = (uint64_t)(raw_value); in GetIntegerValue()
608 value_sp->GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetIntegerValue()
610 value_sp->GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetIntegerValue()
615 value_sp->GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetIntegerValue()
617 value_sp->GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetIntegerValue()
[all …]
H A DABISysV_ppc.cpp452 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
454 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
533 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
542 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
544 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
550 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
552 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
558 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
560 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
566 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1160 int64_t raw_value; in AddEnumValue() local
1163 raw_value = v.Value.Int8; in AddEnumValue()
1166 raw_value = v.Value.Int16; in AddEnumValue()
1169 raw_value = v.Value.Int32; in AddEnumValue()
1172 raw_value = v.Value.Int64; in AddEnumValue()
1175 raw_value = v.Value.UInt8; in AddEnumValue()
1178 raw_value = v.Value.UInt16; in AddEnumValue()
1181 raw_value = v.Value.UInt32; in AddEnumValue()
1184 raw_value = v.Value.UInt64; in AddEnumValue()
1193 enum_type, decl, name.c_str(), raw_value, byte_size * 8); in AddEnumValue()
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
H A Dgdbremote_testcase.py1014 raw_value = auxv_data[:word_size]
1019 value = unpack_endian_binary_string(endian, raw_value)