/freebsd/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() 158 func.GetBaseAddress(), function_text.data(), func.GetByteSize(), in AugmentUnwindPlanFromCallSite() 159 error) == func.GetByteSize()) { in AugmentUnwindPlanFromCallSite() 163 function_text.data(), func.GetByteSize(), func, unwind_plan, reg_ctx); in AugmentUnwindPlanFromCallSite() [all …]
|
/freebsd/contrib/llvm-project/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() 127 addr_t lhs_end_addr = GetBaseAddress().GetFileAddress() + GetByteSize(); in Extend() 135 addr_t rhs_end_addr = rhs_base_addr + rhs_range.GetByteSize(); in Extend() 169 DumpAddress(s->AsRawOstream(), m_base_addr.GetOffset() + GetByteSize(), in Dump() 194 DumpAddressRange(s->AsRawOstream(), vmaddr, vmaddr + GetByteSize(), in Dump() [all …]
|
H A D | Value.cpp | 62 v.m_data_buffer.GetByteSize()); in Value() 80 rhs.m_data_buffer.GetByteSize()); in operator =() 156 size_t curr_size = m_data_buffer.GetByteSize(); in AppendDataToHostBuffer() 162 const size_t scalar_size = rhs.m_value.GetByteSize(); in AppendDataToHostBuffer() 177 const size_t src_len = rhs.GetBuffer().GetByteSize(); in AppendDataToHostBuffer() 194 return m_data_buffer.GetByteSize(); 226 if (std::optional<uint64_t> size = GetCompilerType().GetByteSize(scope)) { in GetValueByteSize() 304 if (m_data_buffer.GetByteSize()) { in GetData() 305 data.SetData(m_data_buffer.GetBytes(), m_data_buffer.GetByteSize(), in GetData() 324 std::optional<uint64_t> type_size = ast_type.GetByteSize( in GetValueAsData() [all...] |
H A D | ValueObjectVTable.cpp | 34 std::optional<uint64_t> GetByteSize() override { return m_addr_size; }; in GetByteSize() function in ValueObjectVTableChild 158 std::optional<uint64_t> ValueObjectVTable::GetByteSize() { in GetByteSize() function in ValueObjectVTable 160 return m_vtable_symbol->GetByteSize(); in GetByteSize() 252 m_vtable_symbol->GetByteSize(); in UpdateValue()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | RegisterContextPOSIXCore_arm64.cpp | 31 if (ssve_data.GetByteSize() >= sizeof(sve::user_sve_header)) in Create() 35 if (sve_data.GetByteSize() >= sizeof(sve::user_sve_header)) in Create() 42 if (pac_data.GetByteSize() >= sizeof(uint64_t) * 2) in Create() 48 if (tls_data.GetByteSize() >= sizeof(uint64_t)) in Create() 53 if (za_data.GetByteSize() >= sizeof(sve::user_za_header)) in Create() 57 if (mte_data.GetByteSize() >= sizeof(uint64_t)) in Create() 64 if (zt_data.GetByteSize() >= 64) in Create() 98 gpregset.GetByteSize())); in RegisterContextCorePOSIX_arm64() 155 if (m_sve_data.GetByteSize() > sizeof(sve::user_sve_header)) { in ConfigureRegisterContext() 185 if (m_za_data.GetByteSize() >= sizeof(sve::user_za_header)) { in ConfigureRegisterContext() [all …]
|
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 | 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 | 289 if (GetSize(arch) > data.GetByteSize()) { in Parse() 292 GetSize(arch), data.GetByteSize()); in Parse() 359 if (GetSize(arch) > data.GetByteSize()) { in Parse() 362 GetSize(arch), data.GetByteSize()); in Parse() 425 if (GetSize(arch) > data.GetByteSize()) { in Parse() 428 GetSize(arch), data.GetByteSize()); in Parse()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | Materializer.cpp | 81 m_persistent_variable_sp->GetByteSize().value_or(0), 8, in MakeAllocation() 120 m_persistent_variable_sp->GetByteSize().value_or(0), in MakeAllocation() 249 m_persistent_variable_sp->GetByteSize().value_or(0)); in Dematerialize() 294 (unsigned long long)m_persistent_variable_sp->GetByteSize() in Dematerialize() 304 m_persistent_variable_sp->GetByteSize().value_or(0), in Dematerialize() 369 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 386 DataBufferHeap data(m_persistent_variable_sp->GetByteSize().value_or(0), in DumpToLog() 390 m_persistent_variable_sp->GetByteSize().value_or(0), in DumpToLog() 396 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 532 if (data.GetByteSize() < GetByteSize(scope)) { in Materialize() [all …]
|
H A D | IRMemoryMap.cpp | 570 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 578 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 618 size = scalar.GetByteSize(); in WriteScalarToMemory() 692 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 697 if (allocation.m_data.GetByteSize() < offset + size) { in ReadMemory() 712 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 753 DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(), in ReadScalarFromMemory() 831 if (!allocation.m_data.GetByteSize()) { in GetMemoryData() 839 allocation.m_data.GetByteSize(), error); in GetMemoryData() 849 if (!allocation.m_data.GetByteSize()) { in GetMemoryData()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | DataEncoder.cpp | 41 return llvm::ArrayRef<uint8_t>(m_data_sp->GetBytes(), GetByteSize()); in GetData() 44 size_t DataEncoder::GetByteSize() const { return m_data_sp->GetByteSize(); } in GetByteSize() function in DataEncoder 138 uint32_t offset = m_data_sp->GetByteSize(); in AppendU16() 139 m_data_sp->SetByteSize(m_data_sp->GetByteSize() + sizeof(value)); in AppendU16() 144 uint32_t offset = m_data_sp->GetByteSize(); in AppendU32() 145 m_data_sp->SetByteSize(m_data_sp->GetByteSize() + sizeof(value)); in AppendU32() 150 uint32_t offset = m_data_sp->GetByteSize(); in AppendU64() 151 m_data_sp->SetByteSize(m_data_sp->GetByteSize() + sizeof(value)); in AppendU64()
|
H A D | DataExtractor.cpp | 163 offset_t bytes_available = data.GetByteSize() - offset; in DataExtractor() 235 return GetByteSize(); in SetData() 262 if (data_length > data.GetByteSize() - data_offset) in SetData() 263 data_length = data.GetByteSize() - data_offset; in SetData() 289 const size_t data_size = data_sp->GetByteSize(); in SetData() 303 size_t new_size = GetByteSize(); in SetData() 969 size_t data_size = GetByteSize(); in Copy() 972 return GetByteSize(); in Copy() 979 if (rhs.GetByteSize() == 0) in Append() 982 if (GetByteSize() == 0) in Append() [all …]
|
H A D | DataBufferLLVM.cpp | 29 lldb::offset_t DataBufferLLVM::GetByteSize() const { in GetByteSize() function in DataBufferLLVM 46 lldb::offset_t WritableDataBufferLLVM::GetByteSize() const { in GetByteSize() function in WritableDataBufferLLVM
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteRegisterContext.cpp | 169 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in PrivateSetRegisterValue() 201 buffer_sp->GetByteSize())); in GetPrimordialRegister() 226 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize())); in ReadRegisterBytes() 227 if (buffer_sp->GetByteSize() >= m_reg_data.GetByteSize()) { in ReadRegisterBytes() 230 } else if (buffer_sp->GetByteSize() > 0) { in ReadRegisterBytes() 237 buffer_sp->GetByteSize()); in ReadRegisterBytes() 252 m_reg_data.GetByteSize(), buffer_sp->GetByteSize()); in ReadRegisterBytes() [all...] |
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | Symbol.cpp | 60 m_size_is_valid(size_is_valid || range.GetByteSize() > 0), in Symbol() 192 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() 218 return m_size_is_sibling ? m_addr_range.GetByteSize() : UINT32_MAX; in GetSiblingIndex() 232 const lldb::addr_t byte_size = GetByteSize(); in GetDescription() 273 GetByteSize(); in Dump() 289 s->Printf(format, GetByteSize(), m_flags, name.AsCString("")); in Dump() 296 intptr_t shlib = m_addr_range.GetByteSize(); in Dump() 308 s->Printf(format, m_addr_range.GetBaseAddress().GetOffset(), GetByteSize(), in Dump() 333 m_type_data = sc.line_entry.range.GetByteSize(); in GetPrologueByteSize() 359 addr.Slide(sc_temp.line_entry.range.GetByteSize()); in GetPrologueByteSize() [all …]
|
H A D | ObjectFile.cpp | 91 if (!data_sp || data_sp->GetByteSize() == 0) { in FindPlugin() 101 file_size = FileSystem::Instance().GetByteSize(archive_file); in FindPlugin() 124 if (data_sp && data_sp->GetByteSize() > 0) { in FindPlugin() 192 module_sp, &file_spec, 0, FileSystem::Instance().GetByteSize(file_spec), in IsObjectFile() 207 FileSystem::Instance().GetByteSize(file); in GetModuleSpecifications() 282 m_data.SetData(header_data_sp, 0, header_data_sp->GetByteSize()); in ObjectFile() 464 addr, data_up->GetBytes(), data_up->GetByteSize(), error); in ReadMemory() 520 const uint64_t section_size = section->GetByteSize(); in ReadSectionData() 550 ReadMemory(process_sp, base_load_addr, section->GetByteSize())); in ReadSectionData() 552 section_data.SetData(data_sp, 0, data_sp->GetByteSize()); in ReadSectionData() [all …]
|
H A D | LineEntry.cpp | 153 const lldb::addr_t a_byte_size = a.range.GetByteSize(); in Compare() 154 const lldb::addr_t b_byte_size = b.range.GetByteSize(); in Compare() 195 range_end.Slide(complete_line_range.GetByteSize()); in GetSameLineContiguousAddressRange() 199 next_line_sc.line_entry.range.GetByteSize() == 0) in GetSameLineContiguousAddressRange()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | DataBuffer.h | 50 virtual lldb::offset_t GetByteSize() const = 0; 60 return llvm::ArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 111 return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 132 lldb::offset_t GetByteSize() const override { return m_size; } in GetBytesImpl() 133 lldb::offset_t GetByteSize() const override { return m_size; } GetByteSize() function
|
H A D | DataEncoder.h | 256 size_t GetByteSize() const; 265 const uint32_t size = GetByteSize(); 285 bool ValidOffset(uint32_t offset) const { return offset < GetByteSize(); }
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Memory.cpp | 67 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Flush() 119 entry->GetByteSize() == byte_size) in RemoveInvalidRange() 140 data_buffer_heap_sp->GetByteSize(), error); in GetL2CacheLine() 181 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Read() 216 if (cache_line_offset >= first_cache_line->GetByteSize()) in Read() 221 size_t read_size = first_cache_line->GetByteSize() - cache_line_offset; in Read() 231 if (first_cache_line->GetByteSize() < m_L2_cache_line_byte_size && in Read() 254 if (read_size > second_cache_line->GetByteSize()) in Read() 255 read_size = second_cache_line->GetByteSize(); in Read() 289 const lldb::addr_t range_size = free_block.GetByteSize(); in ReserveBlock()
|
/freebsd/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/contrib/llvm-project/lldb/source/API/ |
H A D | SBSymbol.cpp | 126 AddressRange symbol_range(symbol_addr, m_opaque_ptr->GetByteSize()); in GetInstructions() 156 lldb::addr_t range_size = m_opaque_ptr->GetByteSize(); in GetEndAddress() 159 addr->Slide(m_opaque_ptr->GetByteSize()); in GetEndAddress() 175 return m_opaque_ptr->GetByteSize(); in GetSize()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | ProcessStructReader.h | 62 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())
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
H A D | ObjectContainerMachOFileset.cpp | 46 : ObjectContainer(module_sp, nullptr, 0, data_sp->GetByteSize(), data_sp, in ObjectContainerMachOFileset() 73 if (!MagicBytesMatch(data_sp, 0, data_sp->GetByteSize())) in CreateMemoryInstance() 184 if (data.GetByteSize() < header_and_lc_size) { in ParseHeader() 207 if (m_data.GetByteSize() < header_and_lc_size) { in ParseHeader() 227 data.SetData(data_sp, data_offset, data_sp->GetByteSize()); in GetModuleSpecifications() 288 m_data.GetByteSize() - entry->fileoff, data_sp, in GetObjectFile()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDataExtractor.cpp | 25 return llvm::DWARFDataExtractor(llvm::ArrayRef(GetDataStart(), GetByteSize()), in GetAsLLVMDWARF() 30 return llvm::DataExtractor(llvm::ArrayRef(GetDataStart(), GetByteSize()), in GetAsLLVM()
|