| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | UnwindAssembly-x86.cpp | 47 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in GetNonCallSiteUnwindPlanFromAssembly() 54 std::vector<uint8_t> function_text(func.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 57 func.GetBaseAddress(), function_text.data(), func.GetByteSize(), in GetNonCallSiteUnwindPlanFromAssembly() 58 error) == func.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly() 62 function_text.data(), func.GetByteSize(), func, unwind_plan); in GetNonCallSiteUnwindPlanFromAssembly() 151 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in AugmentUnwindPlanFromCallSite() 155 std::vector<uint8_t> function_text(func.GetByteSize()); in AugmentUnwindPlanFromCallSite() 159 error) == func.GetByteSize()) { in AugmentUnwindPlanFromCallSite() 220 std::vector<uint8_t> function_text(func.GetByteSize()); in FirstNonPrologueInsn() 223 func.GetByteSize(), error) == func.GetByteSize()) { in FirstNonPrologueInsn() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | AddressRange.cpp | 73 return (addr.GetOffset() - m_base_addr.GetOffset()) < GetByteSize(); in ContainsFileAddress() 83 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress() 97 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress() 105 return (addr.GetOffset() - m_base_addr.GetOffset()) < GetByteSize(); in ContainsLoadAddress() 115 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 129 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 135 addr_t lhs_end_addr = GetBaseAddress().GetFileAddress() + GetByteSize(); in Extend() 143 addr_t rhs_end_addr = rhs_base_addr + rhs_range.GetByteSize(); in Extend() 173 DumpAddress(s->AsRawOstream(), m_base_addr.GetOffset() + GetByteSize(), in Dump() 198 DumpAddressRange(s->AsRawOstream(), vmaddr, vmaddr + GetByteSize(), in Dump() [all …]
|
| H A D | Value.cpp | 64 v.m_data_buffer.GetByteSize()); in Value() 82 rhs.m_data_buffer.GetByteSize()); in operator =() 142 size_t curr_size = m_data_buffer.GetByteSize(); in AppendDataToHostBuffer() 148 const size_t scalar_size = rhs.m_value.GetByteSize(); in AppendDataToHostBuffer() 163 const size_t src_len = rhs.GetBuffer().GetByteSize(); in AppendDataToHostBuffer() 180 return m_data_buffer.GetByteSize(); in ResizeData() 290 if (m_data_buffer.GetByteSize()) { in GetData() 291 data.SetData(m_data_buffer.GetBytes(), m_data_buffer.GetByteSize(), in GetData() 310 llvm::Optional<uint64_t> type_size = ast_type.GetByteSize( in GetValueAsData() 332 if (limit_byte_size <= m_value.GetByteSize()) { in GetValueAsData() [all …]
|
| H A D | ValueObjectVariable.cpp | 108 llvm::Optional<uint64_t> ValueObjectVariable::GetByteSize() { in GetByteSize() function in ValueObjectVariable 116 return type.GetByteSize(exe_ctx.GetBestExecutionContextScope()); in GetByteSize() 136 if (m_data.GetDataStart() && m_data.GetByteSize()) in UpdateValue() 137 m_value.SetBytes(m_data.GetDataStart(), m_data.GetByteSize()); in UpdateValue() 188 if (size_t value_buf_size = m_value.GetBuffer().GetByteSize()) { in UpdateValue()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | Materializer.cpp | 70 m_persistent_variable_sp->GetByteSize().getValueOr(0), 8, in MakeAllocation() 520 if (data.GetByteSize() < m_variable_sp->GetType()->GetByteSize(scope)) { in Materialize() 521 if (data.GetByteSize() == 0 && in Materialize() 532 data.GetByteSize()); in Materialize() 551 data.GetByteSize(), byte_align, in Materialize() 555 m_temporary_allocation_size = data.GetByteSize(); in Materialize() 570 data.GetByteSize(), write_error); in Materialize() 639 if ((data.GetByteSize() == m_original_data->GetByteSize()) && in Dematerialize() 641 data.GetByteSize())) { in Dematerialize() 1229 register_data.GetByteSize(), write_error); in Materialize() [all …]
|
| H A D | IRMemoryMap.cpp | 546 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 554 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 595 size = scalar.GetByteSize(); in WriteScalarToMemory() 670 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 675 if (allocation.m_data.GetByteSize() < offset + size) { in ReadMemory() 690 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 732 DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(), in ReadScalarFromMemory() 813 if (!allocation.m_data.GetByteSize()) { in GetMemoryData() 821 allocation.m_data.GetByteSize(), error); in GetMemoryData() 831 if (!allocation.m_data.GetByteSize()) { in GetMemoryData()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| H A D | RegisterContextPOSIXCore_arm64.cpp | 27 if (sve_data.GetByteSize() > sizeof(sve::user_sve_header)) in Create() 34 if (pac_data.GetByteSize() >= sizeof(uint64_t) * 2) in Create() 49 gpregset.GetByteSize())); in RegisterContextCorePOSIX_arm64() 86 if (m_sve_data.GetByteSize() > sizeof(sve::user_sve_header)) { in ConfigureRegisterContext() 149 if (offset < m_fpr_data.GetByteSize()) { in ReadRegister() 182 assert(offset < m_sve_data.GetByteSize()); in ReadRegister() 204 assert(offset < m_sve_data.GetByteSize()); in ReadRegister() 212 assert(offset < m_sve_data.GetByteSize()); in ReadRegister() 223 assert(offset < m_pac_data.GetByteSize()); in ReadRegister()
|
| H A D | RegisterContextPOSIXCore_ppc64le.cpp | 27 gpregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le() 34 fpregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le() 40 vmxregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le() 46 vsxregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le()
|
| H A D | ProcessElfCore.cpp | 66 if (data_sp && data_sp->GetByteSize() == header_size && in CreateInstance() 131 last_entry->GetByteSize() == last_entry->data.GetByteSize()) { in AddAddressRangeFromLoadSegment() 428 size_t len = data.GetByteSize() - offset; in ParseFreeBSDPrStatus() 514 while (offset < segment.GetByteSize()) { in parseSegment() 546 assert(thread_data.gpregset.GetByteSize() > 0); in parseFreeBSDNotes() 653 if (thread_data.gpregset.GetByteSize() == 0) in parseNetBSDNotes() 679 if (thread_data.gpregset.GetByteSize() == 0) in parseNetBSDNotes() 705 if (thread_data.gpregset.GetByteSize() == 0) in parseNetBSDNotes() 791 if (thread_data.gpregset.GetByteSize() == 0) { in parseOpenBSDNotes() 823 assert(thread_data.gpregset.GetByteSize() > 0); in parseLinuxNotes() [all …]
|
| H A D | RegisterContextPOSIXCore_powerpc.cpp | 24 gpregset.GetByteSize()); in RegisterContextCorePOSIX_powerpc() 31 fpregset.GetByteSize()); in RegisterContextCorePOSIX_powerpc() 37 vregset.GetByteSize()); in RegisterContextCorePOSIX_powerpc()
|
| H A D | ThreadElfCore.cpp | 272 if (GetSize(arch) > data.GetByteSize()) { in Parse() 275 GetSize(arch), data.GetByteSize()); in Parse() 342 if (GetSize(arch) > data.GetByteSize()) { in Parse() 345 GetSize(arch), data.GetByteSize()); in Parse() 408 if (GetSize(arch) > data.GetByteSize()) { in Parse() 411 GetSize(arch), data.GetByteSize()); in Parse()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | DataBuffer.h | 71 virtual lldb::offset_t GetByteSize() const = 0; 74 return llvm::ArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 78 return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 89 lldb::offset_t GetByteSize() const override { return m_size; } in GetByteSize() function
|
| H A D | DataEncoder.h | 175 const uint32_t size = GetByteSize(); in BytesLeft() 220 bool ValidOffset(uint32_t offset) const { return offset < GetByteSize(); } in ValidOffset() 226 size_t GetByteSize() const { return m_end - m_start; } in GetByteSize() function
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | Symbol.cpp | 57 m_size_is_valid(size_is_valid || range.GetByteSize() > 0), in Symbol() 144 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() 183 const lldb::addr_t byte_size = GetByteSize(); in GetDescription() 219 GetByteSize(); in Dump() 235 s->Printf(format, GetByteSize(), m_flags, name.AsCString("")); in Dump() 242 intptr_t shlib = m_addr_range.GetByteSize(); in Dump() 279 m_type_data = sc.line_entry.range.GetByteSize(); in GetPrologueByteSize() 305 addr.Slide(sc_temp.line_entry.range.GetByteSize()); in GetPrologueByteSize() 308 if (total_offset >= m_addr_range.GetByteSize()) in GetPrologueByteSize() 317 if (m_type_data >= m_addr_range.GetByteSize()) in GetPrologueByteSize() [all …]
|
| H A D | ObjectFile.cpp | 87 if (!data_sp || data_sp->GetByteSize() == 0) { in FindPlugin() 97 file_size = FileSystem::Instance().GetByteSize(archive_file); in FindPlugin() 120 if (data_sp && data_sp->GetByteSize() > 0) { in FindPlugin() 194 FileSystem::Instance().GetByteSize(file); in GetModuleSpecifications() 270 m_data.SetData(header_data_sp, 0, header_data_sp->GetByteSize()); in ObjectFile() 450 addr, data_up->GetBytes(), data_up->GetByteSize(), error); in ReadMemory() 506 const uint64_t section_size = section->GetByteSize(); in ReadSectionData() 536 ReadMemory(process_sp, base_load_addr, section->GetByteSize())); in ReadSectionData() 538 section_data.SetData(data_sp, 0, data_sp->GetByteSize()); in ReadSectionData() 541 return section_data.GetByteSize(); in ReadSectionData() [all …]
|
| H A D | LineEntry.cpp | 163 const lldb::addr_t a_byte_size = a.range.GetByteSize(); in Compare() 164 const lldb::addr_t b_byte_size = b.range.GetByteSize(); in Compare() 205 range_end.Slide(complete_line_range.GetByteSize()); in GetSameLineContiguousAddressRange() 209 next_line_sc.line_entry.range.GetByteSize() == 0) in GetSameLineContiguousAddressRange()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 236 return GetByteSize(); in SetData() 304 size_t new_size = GetByteSize(); in SetData() 970 size_t data_size = GetByteSize(); in Copy() 973 return GetByteSize(); in Copy() 980 if (rhs.GetByteSize() == 0) in Append() 983 if (GetByteSize() == 0) in Append() 986 size_t bytes = GetByteSize() + rhs.GetByteSize(); in Append() 997 memcpy(bytes_ptr + GetByteSize(), rhs.GetDataStart(), rhs.GetByteSize()); in Append() 1011 size_t bytes = GetByteSize() + length; in Append() 1021 if (GetByteSize() > 0) in Append() [all …]
|
| H A D | RegisterValue.cpp | 35 return data.SetData(GetBytes(), GetByteSize(), GetByteOrder()) > 0; in GetData() 178 if (src.GetByteSize() == 0) { in SetValueFromData() 188 uint32_t src_len = src.GetByteSize() - src_offset; in SetValueFromData() 222 if (src.GetByteSize() == eByteOrderBig) { in SetValueFromData() 713 uint32_t RegisterValue::GetByteSize() const { in GetByteSize() function in RegisterValue 727 return m_scalar.GetByteSize(); in GetByteSize() 813 if (bit < (GetByteSize() * 8)) { in ClearBit() 853 if (bit < (GetByteSize() * 8)) { in SetBit()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextMemory.cpp | 109 data_sp->GetByteSize(), in ReadAllRegisterValues() 110 error) == data_sp->GetByteSize()) { in ReadAllRegisterValues() 127 data_sp->GetByteSize(), in WriteAllRegisterValues() 128 error) == data_sp->GetByteSize()) in WriteAllRegisterValues()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | Memory.cpp | 66 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Flush() 118 entry->GetByteSize() == byte_size) in RemoveInvalidRange() 143 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Read() 204 curr_read_size = pos->second->GetByteSize(); in Read() 217 if (pos->second->GetByteSize() != cache_line_byte_size) in Read() 231 data_buffer_heap_up->GetByteSize(), error); in Read() 236 if (process_bytes_read < data_buffer_heap_up->GetByteSize()) { in Read() 237 dst_len -= data_buffer_heap_up->GetByteSize() - process_bytes_read; in Read() 274 const lldb::addr_t range_size = free_block.GetByteSize(); in ReserveBlock()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBSection.cpp | 147 lldb::addr_t SBSection::GetByteSize() { in GetByteSize() function in SBSection 148 LLDB_RECORD_METHOD_NO_ARGS(lldb::addr_t, SBSection, GetByteSize); in GetByteSize() 152 return section_sp->GetByteSize(); in GetByteSize() 204 file_size = section_sp->GetByteSize(); in GetSectionData() 212 if (data_buffer_sp && data_buffer_sp->GetByteSize() > 0) { in GetSectionData() 283 file_addr + section_sp->GetByteSize()); in GetDescription() 313 LLDB_REGISTER_METHOD(lldb::addr_t, SBSection, GetByteSize, ()); in RegisterMethods()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteRegisterContext.cpp | 183 buffer_sp->GetByteSize())); in GetPrimordialRegister() 209 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize())); in ReadRegisterBytes() 210 if (buffer_sp->GetByteSize() >= m_reg_data.GetByteSize()) { in ReadRegisterBytes() 213 } else if (buffer_sp->GetByteSize() > 0) { in ReadRegisterBytes() 219 buffer_sp->GetByteSize()) { in ReadRegisterBytes() 239 m_reg_data.GetByteSize(), buffer_sp->GetByteSize()); in ReadRegisterBytes() 283 assert(m_reg_data.GetByteSize() >= in ReadRegisterBytes() 337 assert(m_reg_data.GetByteSize() >= in WriteRegisterBytes() 583 {data_sp->GetBytes(), size_t(data_sp->GetByteSize())})) in WriteAllRegisterValues() 619 if (size_by_highest_offset == restore_data.GetByteSize()) { in WriteAllRegisterValues() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | ProcessStructReader.h | 60 auto size = field_type.GetByteSize(nullptr); in ProcessStructReader() 69 auto total_size = struct_type.GetByteSize(nullptr); in ProcessStructReader() 90 if (offset + size > m_data.GetByteSize())
|
| H A D | Memory.h | 81 uint32_t GetByteSize() const { return m_range.GetByteSize(); } in GetByteSize() function 92 uint32_t TotalChunks() const { return GetByteSize() / GetChunkSize(); } in TotalChunks()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 37 std::vector<uint8_t> function_text(range.GetByteSize()); in LLDB_PLUGIN_DEFINE() 43 range.GetBaseAddress(), function_text.data(), range.GetByteSize(), in LLDB_PLUGIN_DEFINE() 44 error, force_live_memory) != range.GetByteSize()) { in LLDB_PLUGIN_DEFINE() 58 if (range.GetByteSize() > 0 && range.GetBaseAddress().IsValid() && in GetNonCallSiteUnwindPlanFromAssembly() 275 current_offset + inst->GetOpcode().GetByteSize()) == 0) { in GetNonCallSiteUnwindPlanFromAssembly() 277 inst->GetOpcode().GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 280 {current_offset + inst->GetOpcode().GetByteSize(), in GetNonCallSiteUnwindPlanFromAssembly() 299 base_addr, base_addr + range.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly()
|