| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | UnwindAssembly-x86.cpp | 48 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in GetNonCallSiteUnwindPlanFromAssembly() 56 std::vector<uint8_t> function_text(func.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 60 func.GetByteSize(), error) == func.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly() 64 function_text.data(), func.GetByteSize(), func, unwind_plan); in GetNonCallSiteUnwindPlanFromAssembly() 153 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in AugmentUnwindPlanFromCallSite() 158 std::vector<uint8_t> function_text(func.GetByteSize()); in AugmentUnwindPlanFromCallSite() 162 func.GetByteSize(), error) == func.GetByteSize()) { in AugmentUnwindPlanFromCallSite() 225 std::vector<uint8_t> function_text(func.GetByteSize()); in FirstNonPrologueInsn() 228 function_text.data(), func.GetByteSize(), in FirstNonPrologueInsn() 229 error) == func.GetByteSize()) { in FirstNonPrologueInsn() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | AddressRange.cpp | 65 return (addr.GetOffset() - m_base_addr.GetOffset()) < GetByteSize(); in ContainsFileAddress() 75 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress() 89 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress() 97 return (addr.GetOffset() - m_base_addr.GetOffset()) < GetByteSize(); in ContainsLoadAddress() 107 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 121 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 147 s->Address(m_base_addr.GetOffset() + GetByteSize(), addr_size); in Dump() 171 s->AddressRange(vmaddr, vmaddr + GetByteSize(), addr_size); in Dump() 185 m_base_addr.GetOffset(), GetByteSize()); in DumpDebug()
|
| H A D | Value.cpp | 69 v.m_data_buffer.GetByteSize()); in Value() 88 rhs.m_data_buffer.GetByteSize()); in operator =() 148 size_t curr_size = m_data_buffer.GetByteSize(); in AppendDataToHostBuffer() 152 const size_t scalar_size = rhs.m_value.GetByteSize(); in AppendDataToHostBuffer() 178 const size_t src_len = rhs.GetBuffer().GetByteSize(); in AppendDataToHostBuffer() 195 return m_data_buffer.GetByteSize(); in ResizeData() 227 if (llvm::Optional<uint64_t> size = ast_type.GetByteSize( in GetValueByteSize() 310 if (m_data_buffer.GetByteSize()) { in GetData() 348 if (llvm::Optional<uint64_t> size = ast_type.GetByteSize( in GetValueAsData() 352 if (limit_byte_size <= m_value.GetByteSize()) { in GetValueAsData() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | Materializer.cpp | 84 m_persistent_variable_sp->GetByteSize(), 8, in MakeAllocation() 251 m_persistent_variable_sp->GetByteSize()); in Dematerialize() 530 if (data.GetByteSize() < m_variable_sp->GetType()->GetByteSize()) { in Materialize() 531 if (data.GetByteSize() == 0 && in Materialize() 541 m_variable_sp->GetType()->GetByteSize(), data.GetByteSize()); in Materialize() 557 data.GetByteSize(), byte_align, in Materialize() 561 m_temporary_allocation_size = data.GetByteSize(); in Materialize() 644 if ((data.GetByteSize() == m_original_data->GetByteSize()) && in Dematerialize() 646 data.GetByteSize())) { in Dematerialize() 927 const size_t pvar_byte_size = ret->GetByteSize(); in Dematerialize() [all …]
|
| H A D | IRMemoryMap.cpp | 545 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 553 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 593 size = scalar.GetByteSize(); in WriteScalarToMemory() 668 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 673 if (allocation.m_data.GetByteSize() < offset + size) { in ReadMemory() 688 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 729 DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(), in ReadScalarFromMemory() 810 if (!allocation.m_data.GetByteSize()) { in GetMemoryData() 818 allocation.m_data.GetByteSize(), error); in GetMemoryData() 828 if (!allocation.m_data.GetByteSize()) { in GetMemoryData()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | LineEntry.cpp | 165 const lldb::addr_t a_byte_size = a.range.GetByteSize(); in Compare() 166 const lldb::addr_t b_byte_size = b.range.GetByteSize(); in Compare() 202 range_end.Slide(complete_line_range.GetByteSize()); in GetSameLineContiguousAddressRange() 207 next_line_sc.line_entry.range.GetByteSize() > 0 && in GetSameLineContiguousAddressRange() 213 complete_line_range.GetByteSize() + in GetSameLineContiguousAddressRange() 214 next_line_sc.line_entry.range.GetByteSize()); in GetSameLineContiguousAddressRange() 223 complete_line_range.GetByteSize() + in GetSameLineContiguousAddressRange() 224 next_line_sc.line_entry.range.GetByteSize()); in GetSameLineContiguousAddressRange()
|
| H A D | Symbol.cpp | 58 m_size_is_valid(size_is_valid || range.GetByteSize() > 0), in Symbol() 142 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() 181 const lldb::addr_t byte_size = GetByteSize(); in GetDescription() 216 GetByteSize(); in Dump() 232 s->Printf(format, GetByteSize(), m_flags, name.AsCString("")); in Dump() 239 intptr_t shlib = m_addr_range.GetByteSize(); in Dump() 276 m_type_data = sc.line_entry.range.GetByteSize(); in GetPrologueByteSize() 302 addr.Slide(sc_temp.line_entry.range.GetByteSize()); in GetPrologueByteSize() 305 if (total_offset >= m_addr_range.GetByteSize()) in GetPrologueByteSize() 314 if (m_type_data >= m_addr_range.GetByteSize()) in GetPrologueByteSize() [all …]
|
| H A D | ObjectFile.cpp | 83 if (!data_sp || data_sp->GetByteSize() == 0) { in FindPlugin() 93 file_size = FileSystem::Instance().GetByteSize(archive_file); in FindPlugin() 128 if (data_sp && data_sp->GetByteSize() > 0) { in FindPlugin() 216 FileSystem::Instance().GetByteSize(file); in GetModuleSpecifications() 294 m_data.SetData(header_data_sp, 0, header_data_sp->GetByteSize()); in ObjectFile() 470 addr, data_ap->GetBytes(), data_ap->GetByteSize(), error); in ReadMemory() 526 const uint64_t section_size = section->GetByteSize(); in ReadSectionData() 555 ReadMemory(process_sp, base_load_addr, section->GetByteSize())); in ReadSectionData() 557 section_data.SetData(data_sp, 0, data_sp->GetByteSize()); in ReadSectionData() 560 return section_data.GetByteSize(); in ReadSectionData() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 261 return GetByteSize(); in SetData() 335 size_t new_size = GetByteSize(); in SetData() 1102 size_t data_size = GetByteSize(); in Copy() 1105 return GetByteSize(); in Copy() 1112 if (rhs.GetByteSize() == 0) in Append() 1115 if (GetByteSize() == 0) in Append() 1118 size_t bytes = GetByteSize() + rhs.GetByteSize(); in Append() 1129 memcpy(bytes_ptr + GetByteSize(), rhs.GetDataStart(), rhs.GetByteSize()); in Append() 1143 size_t bytes = GetByteSize() + length; in Append() 1153 if (GetByteSize() > 0) in Append() [all …]
|
| H A D | RegisterValue.cpp | 37 return data.SetData(GetBytes(), GetByteSize(), GetByteOrder()) > 0; in GetData() 204 if (src.GetByteSize() == 0) { in SetValueFromData() 214 uint32_t src_len = src.GetByteSize() - src_offset; in SetValueFromData() 248 if (src.GetByteSize() == eByteOrderBig) { in SetValueFromData() 709 uint32_t RegisterValue::GetByteSize() const { in GetByteSize() function in RegisterValue 723 return m_scalar.GetByteSize(); in GetByteSize() 809 if (bit < (GetByteSize() * 8)) { in ClearBit() 849 if (bit < (GetByteSize() * 8)) { in SetBit()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | DataBuffer.h | 82 virtual lldb::offset_t GetByteSize() const = 0; 85 return llvm::ArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 89 return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData()
|
| H A D | DataEncoder.h | 118 size_t GetByteSize() const { return m_end - m_start; } in GetByteSize() function 352 bool ValidOffset(uint32_t offset) const { return offset < GetByteSize(); } in ValidOffset() 366 const uint32_t size = GetByteSize(); in BytesLeft()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextMemory.cpp | 114 data_sp->GetByteSize(), in ReadAllRegisterValues() 115 error) == data_sp->GetByteSize()) { in ReadAllRegisterValues() 132 data_sp->GetByteSize(), in WriteAllRegisterValues() 133 error) == data_sp->GetByteSize()) in WriteAllRegisterValues()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | SymbolFileDWARFDwp.cpp | 50 lldb_private::FileSystem::Instance().GetByteSize(file_spec), file_data_sp, in Create() 64 llvm::StringRef(debug_cu_index.PeekCStr(0), debug_cu_index.GetByteSize()), in Create() 107 data.SetData(section_data, 0, section_data.GetByteSize()); in LoadSectionData() 118 if (it->second.GetByteSize() == 0) in LoadRawSectionData()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBSection.cpp | 118 lldb::addr_t SBSection::GetByteSize() { in GetByteSize() function in SBSection 121 return section_sp->GetByteSize(); in GetByteSize() 162 file_size = section_sp->GetByteSize(); in GetSectionData() 170 if (data_buffer_sp && data_buffer_sp->GetByteSize() > 0) { in GetSectionData() 228 file_addr + section_sp->GetByteSize()); in GetDescription()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ |
| H A D | ProcessElfCore.cpp | 62 if (data_sp && data_sp->GetByteSize() == header_size && in CreateInstance() 129 last_entry->GetByteSize() == last_entry->data.GetByteSize()) { in AddAddressRangeFromLoadSegment() 445 size_t len = data.GetByteSize() - offset; in ParseFreeBSDPrStatus() 478 while (offset < segment.GetByteSize()) { in parseSegment() 505 assert(thread_data.gpregset.GetByteSize() > 0); in parseFreeBSDNotes() 528 m_auxv = DataExtractor(note.data, 4, note.data.GetByteSize() - 4); in parseFreeBSDNotes() 569 if (thread_data.gpregset.GetByteSize() == 0) { in parseNetBSDNotes() 601 if (thread_data.gpregset.GetByteSize() == 0) { in parseOpenBSDNotes() 633 assert(thread_data.gpregset.GetByteSize() > 0); in parseLinuxNotes() 651 size_t len = note.data.GetByteSize() - header_size; in parseLinuxNotes() [all …]
|
| H A D | RegisterContextPOSIXCore_ppc64le.cpp | 26 new DataBufferHeap(gpregset.GetDataStart(), gpregset.GetByteSize())); in RegisterContextCorePOSIX_ppc64le() 33 new DataBufferHeap(fpregset.GetDataStart(), fpregset.GetByteSize())); in RegisterContextCorePOSIX_ppc64le() 39 new DataBufferHeap(vmxregset.GetDataStart(), vmxregset.GetByteSize())); in RegisterContextCorePOSIX_ppc64le() 45 new DataBufferHeap(vsxregset.GetDataStart(), vsxregset.GetByteSize())); in RegisterContextCorePOSIX_ppc64le()
|
| H A D | RegisterContextPOSIXCore_powerpc.cpp | 23 new DataBufferHeap(gpregset.GetDataStart(), gpregset.GetByteSize())); in RegisterContextCorePOSIX_powerpc() 30 new DataBufferHeap(fpregset.GetDataStart(), fpregset.GetByteSize())); in RegisterContextCorePOSIX_powerpc() 36 new DataBufferHeap(vregset.GetDataStart(), vregset.GetByteSize())); in RegisterContextCorePOSIX_powerpc()
|
| H A D | ThreadElfCore.cpp | 291 if (GetSize(arch) > data.GetByteSize()) { in Parse() 294 GetSize(arch), data.GetByteSize()); in Parse() 363 if (GetSize(arch) > data.GetByteSize()) { in Parse() 366 GetSize(arch), data.GetByteSize()); in Parse() 431 if (GetSize(arch) > data.GetByteSize()) { in Parse() 434 GetSize(arch), data.GetByteSize()); in Parse()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteRegisterContext.cpp | 147 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in PrivateSetRegisterValue() 179 buffer_sp->GetByteSize())); in GetPrimordialRegister() 205 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize())); in ReadRegisterBytes() 206 if (buffer_sp->GetByteSize() >= m_reg_data.GetByteSize()) { in ReadRegisterBytes() 252 assert(m_reg_data.GetByteSize() >= in ReadRegisterBytes() 308 assert(m_reg_data.GetByteSize() >= in WriteRegisterBytes() 314 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in WriteRegisterBytes() 510 if (!data_sp || data_sp->GetBytes() == NULL || data_sp->GetByteSize() == 0) in WriteAllRegisterValues() 532 {data_sp->GetBytes(), size_t(data_sp->GetByteSize())})) in WriteAllRegisterValues() 568 if (size_by_highest_offset == restore_data.GetByteSize()) { in WriteAllRegisterValues() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/ |
| H A D | ProcessStructReader.h | 61 auto size = field_type.GetByteSize(nullptr); in ProcessStructReader() 70 auto total_size = struct_type.GetByteSize(nullptr); in ProcessStructReader() 91 if (offset + size > m_data.GetByteSize())
|
| H A D | Memory.h | 89 uint32_t GetByteSize() const { return m_range.GetByteSize(); } in GetByteSize() function 100 uint32_t TotalChunks() const { return GetByteSize() / GetChunkSize(); } in TotalChunks()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | Memory.cpp | 69 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Flush() 121 entry->GetByteSize() == byte_size) in RemoveInvalidRange() 146 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Read() 207 curr_read_size = pos->second->GetByteSize(); in Read() 220 if (pos->second->GetByteSize() != cache_line_byte_size) in Read() 234 data_buffer_heap_ap->GetByteSize(), error); in Read() 272 const lldb::addr_t range_size = free_block.GetByteSize(); in ReserveBlock()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 38 std::vector<uint8_t> function_text(range.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 45 range.GetByteSize(), error) != range.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly() 59 if (range.GetByteSize() > 0 && range.GetBaseAddress().IsValid() && in GetNonCallSiteUnwindPlanFromAssembly() 248 current_offset + inst->GetOpcode().GetByteSize()) == 0) { in GetNonCallSiteUnwindPlanFromAssembly() 250 inst->GetOpcode().GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 253 {current_offset + inst->GetOpcode().GetByteSize(), in GetNonCallSiteUnwindPlanFromAssembly() 272 base_addr, base_addr + range.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | RegisterContextPOSIXProcessMonitor_x86.cpp | 153 value_to_write.SetBytes(dst, full_value.GetByteSize(), byte_order); in WriteRegister() 204 if (value.GetByteSize() > reg_info->byte_size) in ReadRegister() 280 value.GetBytes(), value.GetByteSize()); in WriteRegister() 284 value.GetBytes(), value.GetByteSize()); in WriteRegister() 288 value.GetBytes(), value.GetByteSize()); in WriteRegister() 297 value.GetBytes(), value.GetByteSize()); in WriteRegister() 380 if (data_sp && data_sp->GetByteSize() == REG_CONTEXT_SIZE) { in WriteAllRegisterValues()
|