| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
| HD | ELFHeader.cpp | 31 uint32_t byte_size) in GetMaxU64() argument 34 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 42 uint32_t byte_size, in GetMaxU64() argument 49 if (GetMaxU64(data, offset, value, byte_size) == false) in GetMaxU64() 62 uint32_t byte_size) in GetMaxS64() argument 65 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 73 uint32_t byte_size, in GetMaxS64() argument 80 if (GetMaxS64(data, offset, value, byte_size) == false) in GetMaxS64() 114 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 116 data.SetAddressByteSize(byte_size); in Parse() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Core/ |
| HD | RegisterValue.cpp | 90 reg_info->byte_size, // item_byte_size in Dump() 137 const uint32_t src_len = reg_info->byte_size; in GetAsMemoryData() 194 const uint32_t dst_len = reg_info->byte_size; in SetFromMemoryData() 276 const uint32_t byte_size = reg_info->byte_size; in SetType() local 284 if (byte_size == 1) in SetType() 286 else if (byte_size <= 2) in SetType() 288 else if (byte_size <= 4) in SetType() 290 else if (byte_size <= 8) in SetType() 293 else if (byte_size <= 16) in SetType() 299 if (byte_size == sizeof(float)) in SetType() [all …]
|
| HD | Value.cpp | 265 uint64_t byte_size = 0; in GetValueByteSize() local 271 byte_size = GetRegisterInfo()->byte_size; in GetValueByteSize() 280 byte_size = ast_type.GetByteSize(nullptr); in GetValueByteSize() 287 if (byte_size == 0) in GetValueByteSize() 297 return byte_size; in GetValueByteSize() 642 size_t byte_size = GetValueByteSize (&error); in GetValueAsData() local 650 if (!data.ValidOffsetForDataOfSize (data_offset, byte_size)) in GetValueAsData() 652 DataBufferSP data_sp(new DataBufferHeap (data_offset + byte_size, '\0')); in GetValueAsData() 656 uint8_t* dst = const_cast<uint8_t*>(data.PeekData (data_offset, byte_size)); in GetValueAsData() 667 memcpy (dst, (uint8_t*)NULL + address, byte_size); in GetValueAsData() [all …]
|
| HD | AddressRange.cpp | 25 AddressRange::AddressRange (addr_t file_addr, addr_t byte_size, const SectionList *section_list) : in AddressRange() argument 27 m_byte_size(byte_size) in AddressRange() 31 AddressRange::AddressRange (const lldb::SectionSP §ion, addr_t offset, addr_t byte_size) : in AddressRange() argument 33 m_byte_size(byte_size) in AddressRange() 37 AddressRange::AddressRange (const Address& so_addr, addr_t byte_size) : in AddressRange() argument 39 m_byte_size(byte_size) in AddressRange()
|
| HD | AddressResolverName.cpp | 187 addr_t byte_size = sc.function->GetAddressRange().GetByteSize(); in SearchCallback() local 194 byte_size -= prologue_byte_size; in SearchCallback() 200 AddressRange new_range (func_addr, byte_size); in SearchCallback() 215 addr_t byte_size = sc.symbol->GetByteSize(); in SearchCallback() local 223 byte_size -= prologue_byte_size; in SearchCallback() 229 AddressRange new_range (func_addr, byte_size); in SearchCallback()
|
| HD | Scalar.cpp | 137 size_t byte_size = GetByteSize(); in GetData() local 138 if (byte_size > 0) in GetData() 140 if (limit_byte_size < byte_size) in GetData() 154 …data.SetData(((uint8_t*)&m_data) + byte_size - limit_byte_size, limit_byte_size, lldb::endian::Inl… in GetData() 160 data.SetData((uint8_t*)&m_data, byte_size, lldb::endian::InlHostByteOrder()); in GetData() 525 Scalar::GetValueTypeForSignedIntegerWithByteSize (size_t byte_size) in GetValueTypeForSignedIntegerWithByteSize() argument 527 if (byte_size <= sizeof(sint_t)) in GetValueTypeForSignedIntegerWithByteSize() 529 if (byte_size <= sizeof(slong_t)) in GetValueTypeForSignedIntegerWithByteSize() 531 if (byte_size <= sizeof(slonglong_t)) in GetValueTypeForSignedIntegerWithByteSize() 537 Scalar::GetValueTypeForUnsignedIntegerWithByteSize (size_t byte_size) in GetValueTypeForUnsignedIntegerWithByteSize() argument [all …]
|
| HD | Opcode.cpp | 95 uint32_t byte_size = GetByteSize (); in GetData() local 99 if (byte_size > 0) in GetData() 155 buffer_sp.reset (new DataBufferHeap (buf, byte_size)); in GetData() 158 return byte_size; in GetData()
|
| HD | EmulateInstruction.cpp | 147 if (reg_value.SetUInt(uint_value, reg_info.byte_size)) in WriteRegisterUnsigned() 162 if (reg_value.SetUInt(uint_value, reg_info->byte_size)) in WriteRegisterUnsigned() 180 EmulateInstruction::ReadMemoryUnsigned (const Context &context, lldb::addr_t addr, size_t byte_size… in ReadMemoryUnsigned() argument 184 if (byte_size <= 8) in ReadMemoryUnsigned() 187 size_t bytes_read = m_read_mem_callback (this, m_baton, context, addr, buf, byte_size); in ReadMemoryUnsigned() 188 if (bytes_read == byte_size) in ReadMemoryUnsigned() 191 DataExtractor data (buf, byte_size, GetByteOrder(), GetAddressByteSize()); in ReadMemoryUnsigned() 192 uval64 = data.GetMaxU64 (&offset, byte_size); in ReadMemoryUnsigned()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Interpreter/ |
| HD | OptionGroupFormat.cpp | 124 uint32_t byte_size = 0; in SetOptionValue() local 126 while (ParserGDBFormatLetter (interpreter, gdb_format_cstr[0], format, byte_size)) in SetOptionValue() 135 … if (gdb_format_cstr[0] || (format == eFormatInvalid && byte_size == 0 && count == 0)) in SetOptionValue() 146 ParserGDBFormatLetter (interpreter, m_prev_gdb_format, format, byte_size); in SetOptionValue() 153 if (byte_size == 0) in SetOptionValue() 154 ParserGDBFormatLetter (interpreter, m_prev_gdb_size, format, byte_size); in SetOptionValue() 161 if (byte_size > 0 && format != lldb::eFormatAddressInfo) in SetOptionValue() 188 m_byte_size.SetCurrentValue (byte_size); in SetOptionValue() 208 …atLetter (CommandInterpreter &interpreter, char format_letter, Format &format, uint32_t &byte_size) in ParserGDBFormatLetter() argument 224 byte_size = target->GetArchitecture().GetAddressByteSize(); in ParserGDBFormatLetter() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ |
| HD | RegisterContextPOSIXCore_powerpc.cpp | 84 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 85 if (offset == reg_info->byte_offset + reg_info->byte_size) in ReadRegister() 92 offset = m_vec.CopyData(offset, reg_info->byte_size, &v); in ReadRegister() 93 if (offset == reg_info->byte_size) in ReadRegister() 95 value.SetBytes(v, reg_info->byte_size, m_vec.GetByteOrder()); in ReadRegister() 99 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister() 100 if (offset == reg_info->byte_offset + reg_info->byte_size) in ReadRegister() 102 if (reg_info->byte_size < sizeof(v)) in ReadRegister()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Target/ |
| HD | Memory.cpp | 118 MemoryCache::AddInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size) in AddInvalidRange() argument 120 if (byte_size > 0) in AddInvalidRange() 123 InvalidRanges::Entry range (base_addr, byte_size); in AddInvalidRange() 130 MemoryCache::RemoveInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size) in RemoveInvalidRange() argument 132 if (byte_size > 0) in RemoveInvalidRange() 139 if (entry->GetRangeBase() == base_addr && entry->GetByteSize() == byte_size) in RemoveInvalidRange() 291 uint32_t byte_size, in AllocatedBlock() argument 295 m_byte_size (byte_size), in AllocatedBlock() 301 assert (byte_size > chunk_size); in AllocatedBlock() 471 AllocatedMemoryCache::AllocatePage (uint32_t byte_size, in AllocatePage() argument [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| HD | AuxVector.cpp | 35 unsigned int byte_size) in GetMaxU64() argument 38 *value = data.GetMaxU64(offset_ptr, byte_size); in GetMaxU64() 46 unsigned int byte_size) in ParseAuxvEntry() argument 48 if (!GetMaxU64(data, offset_ptr, &entry.type, byte_size)) in ParseAuxvEntry() 51 if (!GetMaxU64(data, offset_ptr, &entry.value, byte_size)) in ParseAuxvEntry() 69 const unsigned int byte_size = m_process->GetAddressByteSize(); in ParseAuxv() local 76 if (!ParseAuxvEntry(data, entry, &offset, byte_size)) in ParseAuxv()
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | AddressRange.h | 48 AddressRange (const lldb::SectionSP §ion, lldb::addr_t offset, lldb::addr_t byte_size); 65 …AddressRange (lldb::addr_t file_addr, lldb::addr_t byte_size, const SectionList *section_list = NU… 79 AddressRange (const Address& so_addr, lldb::addr_t byte_size); 270 SetByteSize (lldb::addr_t byte_size) { m_byte_size = byte_size; } in SetByteSize() argument
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-arm64/ |
| HD | ABISysV_arm64.cpp | 415 const uint64_t byte_size = new_value_sp->GetData(data, data_error); in SetReturnValueObject() local 431 if (byte_size <= 16) in SetReturnValueObject() 434 if (byte_size <= 8) in SetReturnValueObject() 436 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() 448 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject() 473 if (byte_size <= 16) in SetReturnValueObject() 475 if (byte_size <= RegisterValue::GetMaxByteSize()) in SetReturnValueObject() 487 …WithFormat ("returning float values with a byte size of %" PRIu64 " are not supported", byte_size); in SetReturnValueObject() 504 if (byte_size > 0) in SetReturnValueObject() 510 if (byte_size <= v0_info->byte_size) in SetReturnValueObject() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm64/ |
| HD | ABIMacOSX_arm64.cpp | 442 const uint64_t byte_size = new_value_sp->GetData(data, data_error); in SetReturnValueObject() local 458 if (byte_size <= 16) in SetReturnValueObject() 461 if (byte_size <= 8) in SetReturnValueObject() 463 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() 475 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject() 500 if (byte_size <= 16) in SetReturnValueObject() 502 if (byte_size <= RegisterValue::GetMaxByteSize()) in SetReturnValueObject() 514 …WithFormat ("returning float values with a byte size of %" PRIu64 " are not supported", byte_size); in SetReturnValueObject() 531 if (byte_size > 0) in SetReturnValueObject() 537 if (byte_size <= v0_info->byte_size) in SetReturnValueObject() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-i386/ |
| HD | ABISysV_i386.cpp | 310 reg_info_32->byte_size, in PrepareTrivialCall() 322 reg_info_32->byte_size, in PrepareTrivialCall() 346 uint32_t byte_size = (bit_width + (8-1))/8; in ReadIntegerArgument() local 352 …if (process->ReadScalarIntegerFromMemory(current_stack_argument, byte_size, is_signed, scalar, err… in ReadIntegerArgument() 354 current_stack_argument += byte_size; in ReadIntegerArgument() 466 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local 475 switch (byte_size) in GetReturnValueObjectSimple() 536 if (byte_size <= 12) // handles float, double, long double, __float80 in GetReturnValueObjectSimple() 549 if (byte_size == 4) // float is 4 bytes in GetReturnValueObjectSimple() 555 else if (byte_size == 8) // double is 8 bytes in GetReturnValueObjectSimple() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| HD | UniqueDWARFASTType.h | 48 int32_t byte_size) : in UniqueDWARFASTType() argument 54 m_byte_size (byte_size) in UniqueDWARFASTType() 124 const int32_t byte_size, 157 const int32_t byte_size, in Find() argument 164 return pos->second.Find (symfile, cu, die, decl, byte_size, entry); in Find()
|
| HD | UniqueDWARFASTType.cpp | 27 const int32_t byte_size, in Find() argument 38 if (pos->m_byte_size < 0 || byte_size < 0 || pos->m_byte_size == byte_size) in Find()
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Target/ |
| HD | Memory.h | 59 AddInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size); 62 RemoveInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size); 93 uint32_t byte_size, 174 AllocateMemory (size_t byte_size, 185 AllocatePage (uint32_t byte_size,
|
| /NextBSD/contrib/llvm/tools/lldb/source/Expression/ |
| HD | ClangExpressionVariable.cpp | 106 const size_t byte_size = m_frozen_sp->GetByteSize(); in GetValueBytes() local 107 if (byte_size > 0) in GetValueBytes() 109 if (m_frozen_sp->GetDataExtractor().GetByteSize() < byte_size) in GetValueBytes() 111 m_frozen_sp->GetValue().ResizeData(byte_size); in GetValueBytes()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
| HD | GDBRemoteRegisterContext.cpp | 137 const uint32_t reg_byte_size = reg_info->byte_size; in PrivateSetRegisterValue() 238 assert (m_reg_data.GetByteSize() >= reg_info->byte_offset + reg_info->byte_size); in ReadRegisterBytes() 242 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in ReadRegisterBytes() 252 data.SetData (m_reg_data, reg_info->byte_offset, reg_info->byte_size); in ReadRegisterBytes() 276 packet.PutBytesAsRawHex8 (m_reg_data.PeekData(reg_info->byte_offset, reg_info->byte_size), in SetPrimordialRegister() 277 reg_info->byte_size, in SetPrimordialRegister() 338 assert (m_reg_data.GetByteSize() >= reg_info->byte_offset + reg_info->byte_size); in WriteRegisterBytes() 343 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in WriteRegisterBytes() 347 …nt8_t *dst = const_cast<uint8_t*>(m_reg_data.PeekData(reg_info->byte_offset, reg_info->byte_size)); in WriteRegisterBytes() 354 reg_info->byte_size, // src length in WriteRegisterBytes() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc/ |
| HD | ABISysV_ppc.cpp | 379 uint32_t byte_size = (bit_width + (8-1))/8; in ReadIntegerArgument() local 381 …if (thread.GetProcess()->ReadScalarIntegerFromMemory(current_stack_argument, byte_size, is_signed,… in ReadIntegerArgument() 383 current_stack_argument += byte_size; in ReadIntegerArgument() 591 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local 594 switch (byte_size) in GetReturnValueObjectSimple() 640 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local 641 if (byte_size <= sizeof(long double)) in GetReturnValueObjectSimple() 651 if (byte_size == sizeof(float)) in GetReturnValueObjectSimple() 656 else if (byte_size == sizeof(double)) in GetReturnValueObjectSimple() 684 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc64/ |
| HD | ABISysV_ppc64.cpp | 379 uint32_t byte_size = (bit_width + (8-1))/8; in ReadIntegerArgument() local 381 …if (thread.GetProcess()->ReadScalarIntegerFromMemory(current_stack_argument, byte_size, is_signed,… in ReadIntegerArgument() 383 current_stack_argument += byte_size; in ReadIntegerArgument() 591 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local 594 switch (byte_size) in GetReturnValueObjectSimple() 640 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local 641 if (byte_size <= sizeof(long double)) in GetReturnValueObjectSimple() 651 if (byte_size == sizeof(float)) in GetReturnValueObjectSimple() 656 else if (byte_size == sizeof(double)) in GetReturnValueObjectSimple() 684 const size_t byte_size = return_clang_type.GetByteSize(nullptr); in GetReturnValueObjectSimple() local [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Utility/ |
| HD | ARM64_DWARF_Registers.cpp | 114 reg_info.byte_size = 8; in GetRegisterInfo() 120 reg_info.byte_size = 16; in GetRegisterInfo() 126 reg_info.byte_size = 4; in GetRegisterInfo()
|
| /NextBSD/contrib/llvm/lib/Support/ |
| HD | DataExtractor.cpp | 92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned() 93 switch (byte_size) { in getUnsigned() 107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() 108 switch (byte_size) { in getSigned()
|