| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | RegisterValue.cpp | 183 if (reg_info->byte_size == 0) { in SetValueFromData() 299 if (bytes.size() != byte_size) in ParseVectorEncoding() 348 const uint32_t byte_size = reg_info->byte_size; in SetValueFromString() local 377 uval64, byte_size); in SetValueFromString() 406 ival64, byte_size); in SetValueFromString() 735 if (byte_size == 0) { in SetUInt() 737 } else if (byte_size == 1) { in SetUInt() 739 } else if (byte_size <= 2) { in SetUInt() 741 } else if (byte_size <= 4) { in SetUInt() 743 } else if (byte_size <= 8) { in SetUInt() [all …]
|
| H A D | Scalar.cpp | 85 size_t byte_size = GetByteSize(); in GetData() local 86 if (byte_size == 0) { in GetData() 94 if (limit_byte_size < byte_size) { in GetData() 98 byte_size = limit_byte_size; in GetData() 103 offset = byte_size - limit_byte_size; in GetData() 104 byte_size = limit_byte_size; in GetData() 660 fits = integer.isIntN(byte_size * 8); in SetValueFromCString() 664 value_str, byte_size); in SetValueFromCString() 713 if (data.GetByteSize() < byte_size) in SetValueFromData() 730 if (byte_size == sizeof(float)) in SetValueFromData() [all …]
|
| H A D | DataExtractor.cpp | 112 for (size_t i = 0; i < byte_size; ++i) in ReadMaxInt64() 116 for (size_t i = 0; i < byte_size; ++i) in ReadMaxInt64() 117 res = (res << 8) | data[byte_size - 1 - i]; in ReadMaxInt64() 522 lldbassert(byte_size > 0 && byte_size <= 4 && "GetMaxU32 invalid byte_size!"); in GetMaxU32() 523 return GetMaxU64(offset_ptr, byte_size); in GetMaxU32() 528 lldbassert(byte_size > 0 && byte_size <= 8 && "GetMaxU64 invalid byte_size!"); in GetMaxU64() 529 switch (byte_size) { in GetMaxU64() 552 switch (byte_size) { in GetMaxU64_unchecked() 563 *offset_ptr += byte_size; in GetMaxU64_unchecked() 571 uint64_t u64 = GetMaxU64(offset_ptr, byte_size); in GetMaxS64() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| H A D | RegisterContextPOSIXCore_ppc64le.cpp | 71 offset = m_fpr.CopyData(offset, reg_info->byte_size, &v); in ReadRegister() 73 if (offset == reg_info->byte_size) { in ReadRegister() 80 offset = m_vmx.CopyData(offset, reg_info->byte_size, &v); in ReadRegister() 82 if (offset == reg_info->byte_size) { in ReadRegister() 83 value.SetBytes(v, reg_info->byte_size, m_vmx.GetByteOrder()); in ReadRegister() 94 if (tmp_offset != reg_info->byte_size / 2) { in ReadRegister() 101 if (tmp_offset != reg_info->byte_size / 2) { in ReadRegister() 110 if (offset == reg_info->byte_size) { in ReadRegister() 116 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 118 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister() [all …]
|
| H A D | RegisterContextPOSIXCore_powerpc.cpp | 69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 70 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister() 76 offset = m_vec.CopyData(offset, reg_info->byte_size, &v); in ReadRegister() 77 if (offset == reg_info->byte_size) { in ReadRegister() 78 value.SetBytes(v, reg_info->byte_size, m_vec.GetByteOrder()); in ReadRegister() 82 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 83 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister() 84 if (reg_info->byte_size < sizeof(v)) in ReadRegister()
|
| H A D | RegisterContextPOSIXCore_s390x.cpp | 60 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 61 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister() 62 value.SetUInt(v, reg_info->byte_size); in ReadRegister() 69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 70 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister() 71 value.SetUInt(v, reg_info->byte_size); in ReadRegister()
|
| H A D | RegisterContextPOSIXCore_arm64.cpp | 133 if (offset + reg_info->byte_size <= GetGPRSize()) { in ReadRegister() 134 uint64_t v = m_gpr_data.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 135 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister() 151 reg_info->byte_size, lldb::eByteOrderLittle, in ReadRegister() 184 reg_info->byte_size, lldb::eByteOrderLittle, in ReadRegister() 198 uint64_t byte_size = 1; in ReadRegister() local 202 byte_size = 16; in ReadRegister() 207 value.SetFromMemoryData(reg_info, src, byte_size, lldb::eByteOrderLittle, in ReadRegister() 214 reg_info->byte_size, lldb::eByteOrderLittle, in ReadRegister() 225 reg_info->byte_size, lldb::eByteOrderLittle, error); in ReadRegister()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | OptionGroupFormat.cpp | 92 uint32_t byte_size = 0; in SetOptionValue() local 96 byte_size)) { in SetOptionValue() 116 byte_size); in SetOptionValue() 122 if (byte_size == 0) in SetOptionValue() 124 byte_size); in SetOptionValue() 151 m_byte_size.SetCurrentValue(byte_size); in SetOptionValue() 169 uint32_t &byte_size) { in ParserGDBFormatLetter() argument 237 byte_size = 1; in ParserGDBFormatLetter() 239 byte_size = 2; in ParserGDBFormatLetter() 241 byte_size = 4; in ParserGDBFormatLetter() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 271 if (byte_size <= 16) { in SetReturnValueObject() 273 if (byte_size <= 8) { in SetReturnValueObject() 315 byte_size); in SetReturnValueObject() 327 if (byte_size > 0) { in SetReturnValueObject() 331 if (byte_size <= v0_info->byte_size) { in SetReturnValueObject() 498 if (!byte_size || *byte_size == 0) in LoadValueFromConsecutiveGPRRegisters() 653 if (!byte_size) in GetReturnValueObjectImpl() 663 if (*byte_size <= 8) { in GetReturnValueObjectImpl() 682 x0_reg_info->byte_size + x1_reg_info->byte_size) { in GetReturnValueObjectImpl() 777 if (*byte_size > 0) { in GetReturnValueObjectImpl() [all …]
|
| H A D | ABISysV_arm64.cpp | 243 if (byte_size <= 16) { in SetReturnValueObject() 246 if (byte_size <= 8) { in SetReturnValueObject() 288 byte_size); in SetReturnValueObject() 300 if (byte_size > 0) { in SetReturnValueObject() 304 if (byte_size <= v0_info->byte_size) { in SetReturnValueObject() 473 if (byte_size || *byte_size == 0) in LoadValueFromConsecutiveGPRRegisters() 621 if (!byte_size) in GetReturnValueObjectImpl() 631 if (*byte_size <= 8) { in GetReturnValueObjectImpl() 640 switch (*byte_size) { in GetReturnValueObjectImpl() 652 x0_reg_info->byte_size + x1_reg_info->byte_size) { in GetReturnValueObjectImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ |
| H A D | ABISysV_i386.cpp | 154 current_stack_argument += byte_size; in ReadIntegerArgument() 389 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 391 if (!byte_size) in GetReturnValueObjectSimple() 406 switch (*byte_size) { in GetReturnValueObjectSimple() 474 if (*byte_size == 4) { in GetReturnValueObjectSimple() 478 } else if (*byte_size == 8) { in GetReturnValueObjectSimple() 485 } else if (*byte_size == 12) { in GetReturnValueObjectSimple() 514 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 516 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple() 522 if (*byte_size <= vec_reg->byte_size) { in GetReturnValueObjectSimple() [all …]
|
| H A D | ABISysV_x86_64.cpp | 207 current_stack_argument += byte_size; in ReadIntegerArgument() 408 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 410 if (!byte_size) in GetReturnValueObjectSimple() 415 switch (*byte_size) { in GetReturnValueObjectSimple() 455 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 457 if (byte_size && *byte_size <= sizeof(long double)) { in GetReturnValueObjectSimple() 465 if (*byte_size == sizeof(float)) { in GetReturnValueObjectSimple() 494 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 496 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple() 503 if (*byte_size <= altivec_reg->byte_size) { in GetReturnValueObjectSimple() [all …]
|
| H A D | ABIWindows_x86_64.cpp | 224 current_stack_argument += byte_size; in ReadIntegerArgument() 416 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 418 if (!byte_size) in GetReturnValueObjectSimple() 423 switch (*byte_size) { in GetReturnValueObjectSimple() 463 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 465 if (byte_size && *byte_size <= sizeof(long double)) { in GetReturnValueObjectSimple() 473 if (*byte_size == sizeof(float)) { in GetReturnValueObjectSimple() 501 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 503 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple() 510 if (*byte_size <= xmm_reg->byte_size) { in GetReturnValueObjectSimple() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | Memory.cpp | 101 lldb::addr_t byte_size) { in AddInvalidRange() argument 102 if (byte_size > 0) { in AddInvalidRange() 104 InvalidRanges::Entry range(base_addr, byte_size); in AddInvalidRange() 111 lldb::addr_t byte_size) { in RemoveInvalidRange() argument 112 if (byte_size > 0) { in RemoveInvalidRange() 118 entry->GetByteSize() == byte_size) in RemoveInvalidRange() 254 : m_range(addr, byte_size), m_permissions(permissions), in AllocatedBlock() 259 assert(byte_size > chunk_size); in AllocatedBlock() 349 const size_t num_pages = (byte_size + page_size - 1) / page_size; in AllocatePage() 382 addr = (*pos).second->ReserveBlock(byte_size); in AllocateMemory() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | AddressRange.h | 48 lldb::addr_t byte_size); 63 AddressRange(lldb::addr_t file_addr, lldb::addr_t byte_size, 76 AddressRange(const Address &so_addr, lldb::addr_t byte_size); 237 void SetByteSize(lldb::addr_t byte_size) { m_byte_size = byte_size; } in SetByteSize() argument
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | ExpressionVariable.cpp | 19 llvm::Optional<uint64_t> byte_size = m_frozen_sp->GetByteSize(); in GetValueBytes() local 20 if (byte_size && *byte_size) { in GetValueBytes() 21 if (m_frozen_sp->GetDataExtractor().GetByteSize() < *byte_size) { in GetValueBytes() 22 m_frozen_sp->GetValue().ResizeData(*byte_size); in GetValueBytes()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | UniqueDWARFASTType.h | 25 const lldb_private::Declaration &decl, int32_t byte_size) in UniqueDWARFASTType() argument 27 m_byte_size(byte_size) {} in UniqueDWARFASTType() 64 const int32_t byte_size, UniqueDWARFASTType &entry) const; 83 const lldb_private::Declaration &decl, const int32_t byte_size, in Find() argument 88 return pos->second.Find(die, decl, byte_size, entry); in Find()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | CompilerType.cpp | 797 if (!byte_size) in GetValueAsScalar() 806 if (*byte_size <= sizeof(unsigned long long)) { in GetValueAsScalar() 808 if (*byte_size <= sizeof(unsigned int)) { in GetValueAsScalar() 823 if (*byte_size <= sizeof(long long)) { in GetValueAsScalar() 825 if (*byte_size <= sizeof(int)) { in GetValueAsScalar() 828 } else if (*byte_size <= sizeof(long)) { in GetValueAsScalar() 831 } else if (*byte_size <= sizeof(long long)) { in GetValueAsScalar() 840 if (*byte_size <= sizeof(long double)) { in GetValueAsScalar() 843 if (*byte_size == sizeof(float)) { in GetValueAsScalar() 853 } else if (*byte_size == sizeof(double)) { in GetValueAsScalar() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteRegisterContext.cpp | 77 reg_info->byte_size = reg_size; in GetRegisterInfoAtIndex() 114 const size_t reg_byte_size = reg_info->byte_size; in PrivateSetRegisterValue() 284 reg_info->byte_offset + reg_info->byte_size); in ReadRegisterBytes() 321 reg_info->byte_size}); in SetPrimordialRegister() 338 reg_info->byte_offset + reg_info->byte_size); in WriteRegisterBytes() 752 if (!reg_info || vg_reg_value == reg_info->byte_size) in AArch64SVEReconfigure() 780 reg.byte_size = z_reg_byte_size; in UpdateARM64SVERegistersInfos() 782 reg.byte_size = vg; in UpdateARM64SVERegistersInfos() 784 reg.byte_size = vg; in UpdateARM64SVERegistersInfos() 985 byte_offset += g_register_infos[i].byte_size; in HardcodeARMRegisters() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | AddressRange.cpp | 33 AddressRange::AddressRange(addr_t file_addr, addr_t byte_size, in AddressRange() argument 35 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {} in AddressRange() 38 addr_t byte_size) in AddressRange() argument 39 : m_base_addr(section, offset), m_byte_size(byte_size) {} in AddressRange() 41 AddressRange::AddressRange(const Address &so_addr, addr_t byte_size) in AddressRange() argument 42 : m_base_addr(so_addr), m_byte_size(byte_size) {} in AddressRange()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/ |
| H A D | ABISysV_mips64.cpp | 755 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectImpl() local 757 if (!byte_size) in GetReturnValueObjectImpl() 777 switch (*byte_size) { in GetReturnValueObjectImpl() 818 switch (*byte_size) { in GetReturnValueObjectImpl() 843 if (*byte_size <= sizeof(long double)) { in GetReturnValueObjectImpl() 854 if (*byte_size == sizeof(float)) { in GetReturnValueObjectImpl() 857 } else if (*byte_size == sizeof(double)) { in GetReturnValueObjectImpl() 906 if (*byte_size <= 16) { in GetReturnValueObjectImpl() 1083 if (*byte_size <= 8) in GetReturnValueObjectImpl() 1097 if (bytes_copied != r2_info->byte_size) in GetReturnValueObjectImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/ |
| H A D | ABISysV_arc.cpp | 463 auto raw_value = ReadRawValue(reg_ctx, byte_size); in GetReturnValueObjectSimple() 466 if (!SetSizedInteger(value.GetScalar(), raw_value, byte_size, is_signed)) in GetReturnValueObjectSimple() 487 auto raw_value = ReadRawValue(reg_ctx, byte_size); in GetReturnValueObjectSimple() 489 if (!SetSizedFloat(value.GetScalar(), raw_value, byte_size)) in GetReturnValueObjectSimple() 525 size_t byte_size = retType.getPrimitiveSizeInBits(); in GetReturnValueObjectImpl() local 526 if (1 != byte_size) // For boolean type. in GetReturnValueObjectImpl() 527 byte_size /= CHAR_BIT; in GetReturnValueObjectImpl() 529 auto raw_value = ReadRawValue(reg_ctx, byte_size); in GetReturnValueObjectImpl() 544 const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT; in GetReturnValueObjectImpl() local 545 auto raw_value = ReadRawValue(reg_ctx, byte_size); in GetReturnValueObjectImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Memory.h | 36 void AddInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size); 38 bool RemoveInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size); 70 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions, 121 lldb::addr_t AllocateMemory(size_t byte_size, uint32_t permissions, 129 AllocatedBlockSP AllocatePage(uint32_t byte_size, uint32_t permissions,
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc.cpp | 326 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() local 330 current_stack_argument += byte_size; in ReadIntegerArgument() 529 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 531 if (!byte_size) in GetReturnValueObjectSimple() 536 switch (*byte_size) { in GetReturnValueObjectSimple() 576 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 578 if (byte_size && *byte_size <= sizeof(long double)) { in GetReturnValueObjectSimple() 585 if (*byte_size == sizeof(float)) { in GetReturnValueObjectSimple() 610 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local 612 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple() [all …]
|