/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDataExtractor.cpp | 15 DWARFDataExtractor::GetDWARFInitialLength(lldb::offset_t *offset_ptr) const { 16 return GetU32(offset_ptr); 20 DWARFDataExtractor::GetDWARFOffset(lldb::offset_t *offset_ptr) const { 21 return GetMaxU64(offset_ptr, GetDWARFSizeOfOffset());
|
H A D | DWARFDebugArangeSet.cpp | 36 lldb::offset_t *offset_ptr) { 37 assert(data.ValidOffset(*offset_ptr)); 40 m_offset = *offset_ptr; 56 m_header.length = data.GetDWARFInitialLength(offset_ptr); 57 m_header.version = data.GetU16(offset_ptr); 58 m_header.cu_offset = data.GetDWARFOffset(offset_ptr); 59 m_header.addr_size = data.GetU8(offset_ptr); 60 m_header.seg_size = data.GetU8(offset_ptr); 93 const uint32_t header_size = *offset_ptr - m_offset; 99 *offset_ptr 35 extract(const DWARFDataExtractor &data, lldb::offset_t *offset_ptr) argument [all...] |
H A D | DWARFAbbreviationDeclaration.cpp | 31 lldb::offset_t *offset_ptr) { 32 m_code = data.GetULEB128(offset_ptr); 37 m_tag = static_cast<dw_tag_t>(data.GetULEB128(offset_ptr)); 42 m_has_children = data.GetU8(offset_ptr); 44 while (data.ValidOffset(*offset_ptr)) { 45 dw_attr_t attr = data.GetULEB128(offset_ptr); 46 dw_form_t form = data.GetULEB128(offset_ptr); 61 val.value.sval = data.GetULEB128(offset_ptr); 30 extract(const DWARFDataExtractor &data, lldb::offset_t *offset_ptr) argument
|
H A D | DWARFDataExtractor.h | 26 uint64_t GetDWARFInitialLength(lldb::offset_t *offset_ptr) const; 28 dw_offset_t GetDWARFOffset(lldb::offset_t *offset_ptr) const;
|
H A D | DWARFFormValue.cpp | 31 lldb::offset_t *offset_ptr) { 47 data.GetMaxU64(offset_ptr, DWARFUnit::GetAddressByteSize(m_unit)); 50 m_value.value.uval = data.GetU8(offset_ptr); 54 m_value.value.uval = data.GetU16(offset_ptr); 58 m_value.value.uval = data.GetU32(offset_ptr); 67 m_value.value.uval = data.GetULEB128(offset_ptr); 71 m_value.value.cstr = data.GetCStr(offset_ptr); 74 m_value.value.sval = data.GetSLEB128(offset_ptr); 79 m_value.value.uval = data.GetMaxU64(offset_ptr, 4); 86 m_value.value.uval = data.GetU8(offset_ptr); 30 ExtractValue(const DWARFDataExtractor &data, lldb::offset_t *offset_ptr) argument 207 SkipValue(dw_form_t form, const DWARFDataExtractor &debug_info_data, lldb::offset_t *offset_ptr, const DWARFUnit *unit) argument [all...] |
H A D | DWARFDebugRanges.cpp | 41 lldb::offset_t *offset_ptr, 45 lldb::offset_t range_offset = *offset_ptr; 52 debug_ranges_data.ValidOffsetForDataOfSize(*offset_ptr, 2 * addr_size)) { 53 dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); 54 dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); 72 return range_offset != *offset_ptr; 77 lldb::offset_t *offset_ptr, 83 debug_ranges_data.ValidOffsetForDataOfSize(*offset_ptr, 2 * addr_size)) { 84 dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); 85 dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_siz 40 Extract(DWARFContext &context, lldb::offset_t *offset_ptr, DWARFRangeList &range_list) argument 75 Dump(Stream &s, const DWARFDataExtractor &debug_ranges_data, lldb::offset_t *offset_ptr, dw_addr_t cu_base_addr) argument [all...] |
H A D | DWARFDebugRanges.h | 30 lldb::offset_t *offset_ptr, dw_addr_t cu_base_addr); 33 bool Extract(lldb_private::DWARFContext &context, lldb::offset_t *offset_ptr,
|
H A D | DWARFDebugAbbrev.cpp | 26 lldb::offset_t *offset_ptr) { 27 const lldb::offset_t begin_offset = *offset_ptr; 34 abbrevDeclaration.extract(data, offset_ptr); 25 extract(const DWARFDataExtractor &data, lldb::offset_t *offset_ptr) argument
|
H A D | DWARFFormValue.h | 55 lldb::offset_t *offset_ptr); 71 lldb::offset_t *offset_ptr) const; 74 lldb::offset_t *offset_ptr, const DWARFUnit *unit);
|
H A D | DWARFDebugArangeSet.h | 43 lldb::offset_t *offset_ptr);
|
H A D | DWARFAbbreviationDeclaration.h | 54 lldb::offset_t *offset_ptr);
|
H A D | DWARFDebugAbbrev.h | 41 lldb::offset_t *offset_ptr);
|
H A D | DWARFUnit.cpp | 792 DIERef::Section section, lldb::offset_t *offset_ptr, 795 header.m_offset = *offset_ptr; 797 header.m_index_entry = index->getFromOffset(*offset_ptr); 798 header.m_length = data.GetDWARFInitialLength(offset_ptr); 799 header.m_version = data.GetU16(offset_ptr); 801 header.m_unit_type = data.GetU8(offset_ptr); 802 header.m_addr_size = data.GetU8(offset_ptr); 803 header.m_abbr_offset = data.GetDWARFOffset(offset_ptr); 805 header.m_dwo_id = data.GetU64(offset_ptr); 807 header.m_abbr_offset = data.GetDWARFOffset(offset_ptr); 791 extract(const DWARFDataExtractor &data, DIERef::Section section, lldb::offset_t *offset_ptr, const llvm::DWARFUnitIndex *index) argument 861 extract(SymbolFileDWARF &dwarf, user_id_t uid, const DWARFDataExtractor &debug_info, DIERef::Section section, lldb::offset_t *offset_ptr, const llvm::DWARFUnitIndex *index) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 41 T DataExtractor::getU(uint64_t *offset_ptr, Error *Err) const { argument 47 uint64_t offset = *offset_ptr; 55 *offset_ptr += sizeof(val); 60 T *DataExtractor::getUs(uint64_t *offset_ptr, T *dst, uint32_t count, argument 66 uint64_t offset = *offset_ptr; 72 *value_ptr = getU<T>(offset_ptr, Err); 74 *offset_ptr = offset; 80 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) const { argument 81 return getU<uint8_t>(offset_ptr, Err); 84 uint8_t *DataExtractor::getU8(uint64_t *offset_ptr, uint8_ argument 93 getU16(uint64_t *offset_ptr, llvm::Error *Err) const argument 97 getU16(uint64_t *offset_ptr, uint16_t *dst, uint32_t count) const argument 108 getU32(uint64_t *offset_ptr, llvm::Error *Err) const argument 112 getU32(uint64_t *offset_ptr, uint32_t *dst, uint32_t count) const argument 117 getU64(uint64_t *offset_ptr, llvm::Error *Err) const argument 121 getU64(uint64_t *offset_ptr, uint64_t *dst, uint32_t count) const argument 126 getUnsigned(uint64_t *offset_ptr, uint32_t byte_size, llvm::Error *Err) const argument 142 getSigned(uint64_t *offset_ptr, uint32_t byte_size) const argument 221 getULEB128(uint64_t *offset_ptr, Error *Err) const argument 225 getSLEB128(uint64_t *offset_ptr, Error *Err) const argument [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | DataExtractor.h | 227 /// Extract an address from \a *offset_ptr. 230 /// by \a offset_ptr. The size of the extracted address comes from the \a 234 /// \param[in,out] offset_ptr 243 uint64_t GetAddress(lldb::offset_t *offset_ptr) const; 245 uint64_t GetAddress_unchecked(lldb::offset_t *offset_ptr) const; 261 /// Extract a C string from \a *offset_ptr. 264 /// by \a offset_ptr. A variable length NULL terminated C string will be 265 /// extracted and the \a offset_ptr will be updated with the offset of the 268 /// \param[in,out] offset_ptr 277 /// pointed to by \a offset_ptr i 326 GetData(lldb::offset_t *offset_ptr, lldb::offset_t length) const argument 984 Get(lldb::offset_t *offset_ptr, T fail_value) const argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugRangeList.cpp | 26 uint64_t *offset_ptr) { 28 if (!data.isValidOffset(*offset_ptr)) 30 "invalid range list offset 0x%" PRIx64, *offset_ptr); 36 Offset = *offset_ptr; 41 uint64_t prev_offset = *offset_ptr; 42 Entry.StartAddress = data.getRelocatedAddress(offset_ptr); 44 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); 47 if (*offset_ptr != prev_offset + 2 * AddressSize) { 25 extract(const DWARFDataExtractor &data, uint64_t *offset_ptr) argument
|
H A D | DWARFDebugArangeSet.cpp | 35 uint64_t *offset_ptr) { 36 assert(data.isValidOffset(*offset_ptr)); 38 Offset = *offset_ptr; 65 data.getInitialLength(offset_ptr, &Err); 66 HeaderData.Version = data.getU16(offset_ptr, &Err); 68 offset_ptr, dwarf::getDwarfOffsetByteSize(HeaderData.Format), &Err); 69 HeaderData.AddrSize = data.getU8(offset_ptr, &Err); 70 HeaderData.SegSize = data.getU8(offset_ptr, &Err); 111 const uint32_t header_size = *offset_ptr - Offset; 124 *offset_ptr 34 extract(DWARFDataExtractor data, uint64_t *offset_ptr) argument [all...] |
H A D | DWARFUnit.cpp | 256 uint64_t *offset_ptr, 258 Offset = *offset_ptr; 262 debug_info.getInitialLength(offset_ptr, &Err); 263 FormParams.Version = debug_info.getU16(offset_ptr, &Err); 265 UnitType = debug_info.getU8(offset_ptr, &Err); 266 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); 268 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); 271 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); 272 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); 281 TypeHash = debug_info.getU64(offset_ptr, 254 extract(DWARFContext &Context, const DWARFDataExtractor &debug_info, uint64_t *offset_ptr, DWARFSectionKind SectionKind) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | DataExtractor.cpp | 316 // pointed to by "offset_ptr". 319 uint8_t DataExtractor::GetU8(offset_t *offset_ptr) const { 320 const uint8_t *data = static_cast<const uint8_t *>(GetData(offset_ptr, 1)); 327 // pointed to by "offset_ptr". The extracted data is copied into "dst". 332 void *DataExtractor::GetU8(offset_t *offset_ptr, void *dst, argument 335 static_cast<const uint8_t *>(GetData(offset_ptr, count)); 347 // "offset_ptr". 350 uint16_t DataExtractor::GetU16(offset_t *offset_ptr) const { 353 static_cast<const uint8_t *>(GetData(offset_ptr, sizeof(val))); 363 uint16_t DataExtractor::GetU16_unchecked(offset_t *offset_ptr) cons 399 GetU16(offset_t *offset_ptr, void *void_dst, uint32_t count) const argument 448 GetU32(offset_t *offset_ptr, void *void_dst, uint32_t count) const argument 496 GetU64(offset_t *offset_ptr, void *void_dst, uint32_t count) const argument 521 GetMaxU32(offset_t *offset_ptr, size_t byte_size) const argument 527 GetMaxU64(offset_t *offset_ptr, size_t byte_size) const argument 551 GetMaxU64_unchecked(offset_t *offset_ptr, size_t byte_size) const argument 571 GetMaxS64(offset_t *offset_ptr, size_t byte_size) const argument 576 GetMaxU64Bitfield(offset_t *offset_ptr, size_t size, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset) const argument 604 GetMaxS64Bitfield(offset_t *offset_ptr, size_t size, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset) const argument 817 GetCStr(offset_t *offset_ptr, offset_t len) const argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 100 /// Extract a C string from \a *offset_ptr. 103 /// pointed to by \a offset_ptr. A variable length NULL terminated C 104 /// string will be extracted and the \a offset_ptr will be 123 /// pointed to by \a offset_ptr is out of bounds, or if the 135 /// Extract a C string from \a *offset_ptr. 138 /// pointed to by \a offset_ptr. A variable length NULL terminated C 139 /// string will be extracted and the \a offset_ptr will be 158 /// pointed to by \a offset_ptr is out of bounds, or if the 241 /// *offset_ptr. 244 /// pointed to by \a offset_ptr [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugRangeList.h | 71 Error extract(const DWARFDataExtractor &data, uint64_t *offset_ptr);
|
H A D | DWARFDebugArangeSet.h | 63 Error extract(DWARFDataExtractor data, uint64_t *offset_ptr);
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | stdatomic.c | 102 put_1(reg_t *r, const uint8_t *offset_ptr, uint8_t val) argument 106 offset = (intptr_t)offset_ptr & 3; 111 get_1(const reg_t *r, const uint8_t *offset_ptr) argument 115 offset = (intptr_t)offset_ptr & 3; 120 put_2(reg_t *r, const uint16_t *offset_ptr, uint16_t val) argument 128 offset = (intptr_t)offset_ptr & 3; 135 get_2(const reg_t *r, const uint16_t *offset_ptr) argument 143 offset = (intptr_t)offset_ptr & 3;
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | stdatomic.c | 139 put_1(reg_t *r, const uint8_t *offset_ptr, uint8_t val) argument 143 offset = (intptr_t)offset_ptr & 3; 148 get_1(const reg_t *r, const uint8_t *offset_ptr) argument 152 offset = (intptr_t)offset_ptr & 3; 157 put_2(reg_t *r, const uint16_t *offset_ptr, uint16_t val) argument 165 offset = (intptr_t)offset_ptr & 3; 172 get_2(const reg_t *r, const uint16_t *offset_ptr) argument 180 offset = (intptr_t)offset_ptr & 3;
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
H A D | ObjectFileWasm.cpp | 162 bool ObjectFileWasm::DecodeNextSection(lldb::offset_t *offset_ptr) { argument 166 DataExtractor section_header_data = ReadImageData(*offset_ptr, kBufferSize); 196 m_sect_infos.push_back(section_info{*offset_ptr + c.tell(), section_length, 198 *offset_ptr += (c.tell() + section_length); 200 m_sect_infos.push_back(section_info{*offset_ptr + c.tell(), 203 *offset_ptr += (c.tell() + payload_len);
|