| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DataExtractor.cpp | 47 uint64_t offset = *offset_ptr; in getU() 55 *offset_ptr += sizeof(val); in getU() 66 uint64_t offset = *offset_ptr; in getUs() 74 *offset_ptr = offset; in getUs() 81 return getU<uint8_t>(offset_ptr, Err); in getU8() 130 return getU8(offset_ptr, Err); in getUnsigned() 132 return getU16(offset_ptr, Err); in getUnsigned() 134 return getU32(offset_ptr, Err); in getUnsigned() 136 return getU64(offset_ptr, Err); in getUnsigned() 145 return (int8_t)getU8(offset_ptr); in getSigned() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | DataExtractor.h | 243 uint64_t GetAddress(lldb::offset_t *offset_ptr) const; 327 const uint8_t *ptr = PeekData(*offset_ptr, length); in GetData() 329 *offset_ptr += length; in GetData() 426 float GetFloat(lldb::offset_t *offset_ptr) const; 428 double GetDouble(lldb::offset_t *offset_ptr) const; 599 uint8_t GetU8(lldb::offset_t *offset_ptr) const; 602 uint8_t val = m_start[*offset_ptr]; in GetU8_unchecked() 603 *offset_ptr += 1; in GetU8_unchecked() 651 uint16_t GetU16(lldb::offset_t *offset_ptr) const; 692 uint32_t GetU32(lldb::offset_t *offset_ptr) const; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFFormValue.cpp | 218 *offset_ptr += size; in SkipValue() 223 *offset_ptr += size; in SkipValue() 228 *offset_ptr += size; in SkipValue() 233 *offset_ptr += size; in SkipValue() 255 *offset_ptr += ref_addr_size; in SkipValue() 269 *offset_ptr += 1; in SkipValue() 277 *offset_ptr += 2; in SkipValue() 283 *offset_ptr += 3; in SkipValue() 290 *offset_ptr += 4; in SkipValue() 298 *offset_ptr += 4; in SkipValue() [all …]
|
| H A D | DWARFDebugArangeSet.cpp | 33 assert(data.ValidOffset(*offset_ptr)); in extract() 36 m_offset = *offset_ptr; in extract() 52 m_header.length = data.GetDWARFInitialLength(offset_ptr); in extract() 56 m_next_offset = *offset_ptr + m_header.length; in extract() 59 m_header.version = data.GetU16(offset_ptr); in extract() 60 m_header.cu_offset = data.GetDWARFOffset(offset_ptr); in extract() 61 m_header.addr_size = data.GetU8(offset_ptr); in extract() 62 m_header.seg_size = data.GetU8(offset_ptr); in extract() 95 const uint32_t header_size = *offset_ptr - m_offset; in extract() 101 *offset_ptr = m_offset + first_tuple_offset; in extract() [all …]
|
| H A D | DWARFDebugRanges.cpp | 41 lldb::offset_t *offset_ptr, in Extract() argument 45 lldb::offset_t range_offset = *offset_ptr; in Extract() 52 debug_ranges_data.ValidOffsetForDataOfSize(*offset_ptr, 2 * addr_size)) { in Extract() 53 dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Extract() 54 dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Extract() 72 return range_offset != *offset_ptr; in Extract() 77 lldb::offset_t *offset_ptr, in Dump() argument 83 debug_ranges_data.ValidOffsetForDataOfSize(*offset_ptr, 2 * addr_size)) { in Dump() 84 dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Dump() 85 dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Dump()
|
| H A D | DWARFAbbreviationDeclaration.cpp | 29 lldb::offset_t *offset_ptr) { in extract() argument 30 m_code = data.GetULEB128(offset_ptr); in extract() 35 m_tag = static_cast<dw_tag_t>(data.GetULEB128(offset_ptr)); in extract() 40 m_has_children = data.GetU8(offset_ptr); in extract() 42 while (data.ValidOffset(*offset_ptr)) { in extract() 43 dw_attr_t attr = data.GetULEB128(offset_ptr); in extract() 44 dw_form_t form = data.GetULEB128(offset_ptr); in extract() 59 val.value.sval = data.GetSLEB128(offset_ptr); in extract()
|
| H A D | DWARFDataExtractor.cpp | 15 DWARFDataExtractor::GetDWARFInitialLength(lldb::offset_t *offset_ptr) const { in GetDWARFInitialLength() 16 return GetU32(offset_ptr); in GetDWARFInitialLength() 20 DWARFDataExtractor::GetDWARFOffset(lldb::offset_t *offset_ptr) const { in GetDWARFOffset() 21 return GetMaxU64(offset_ptr, GetDWARFSizeOfOffset()); in GetDWARFOffset()
|
| H A D | DWARFUnit.cpp | 819 lldb::offset_t *offset_ptr) { in extract() argument 821 header.m_offset = *offset_ptr; in extract() 822 header.m_length = data.GetDWARFInitialLength(offset_ptr); in extract() 823 header.m_version = data.GetU16(offset_ptr); in extract() 825 header.m_unit_type = data.GetU8(offset_ptr); in extract() 826 header.m_addr_size = data.GetU8(offset_ptr); in extract() 827 header.m_abbr_offset = data.GetDWARFOffset(offset_ptr); in extract() 830 header.m_dwo_id = data.GetU64(offset_ptr); in extract() 833 header.m_addr_size = data.GetU8(offset_ptr); in extract() 869 header.m_type_hash = data.GetU64(offset_ptr); in extract() [all …]
|
| H A D | DWARFFormValue.h | 56 lldb::offset_t *offset_ptr); 72 lldb::offset_t *offset_ptr) const; 75 lldb::offset_t *offset_ptr, const DWARFUnit *unit);
|
| 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 | DWARFDebugAbbrev.cpp | 26 lldb::offset_t *offset_ptr) { in extract() argument 27 const lldb::offset_t begin_offset = *offset_ptr; in extract() 34 abbrevDeclaration.extract(data, offset_ptr); in extract()
|
| 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 | DWARFDebugInfoEntry.cpp | 41 lldb::offset_t *offset_ptr) { in Extract() argument 42 m_offset = *offset_ptr; in Extract() 45 const uint64_t abbr_idx = data.GetULEB128(offset_ptr); in Extract() 58 lldb::offset_t offset = *offset_ptr; in Extract() 66 *offset_ptr = UINT32_MAX; in Extract() 195 *offset_ptr = m_offset; in Extract() 203 *offset_ptr = offset; in Extract()
|
| H A D | DWARFUnit.h | 77 lldb::offset_t *offset_ptr); 88 DIERef::Section section, lldb::offset_t *offset_ptr); 266 lldb::offset_t *offset_ptr);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 368 *offset_ptr += sizeof(val); in GetU16_unchecked() 378 *offset_ptr += sizeof(val); in GetU32_unchecked() 388 *offset_ptr += sizeof(val); in GetU64_unchecked() 531 return GetU8(offset_ptr); in GetMaxU64() 533 return GetU16(offset_ptr); in GetMaxU64() 563 *offset_ptr += byte_size; in GetMaxU64_unchecked() 636 *offset_ptr += CopyByteOrderedData(*offset_ptr, 10, &val, sizeof(val), in GetLongDouble() 639 *offset_ptr += CopyByteOrderedData(*offset_ptr, sizeof(val), &val, in GetLongDouble() 822 *offset_ptr += len; in GetCStr() 851 *offset_ptr += byte_count; in GetULEB128() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugArangeSet.cpp | 40 assert(data.isValidOffset(*offset_ptr)); in extract() 42 Offset = *offset_ptr; in extract() 69 data.getInitialLength(offset_ptr, &Err); in extract() 70 HeaderData.Version = data.getU16(offset_ptr, &Err); in extract() 73 HeaderData.AddrSize = data.getU8(offset_ptr, &Err); in extract() 74 HeaderData.SegSize = data.getU8(offset_ptr, &Err); in extract() 115 const uint32_t header_size = *offset_ptr - Offset; in extract() 128 *offset_ptr = Offset + first_tuple_offset; in extract() 138 while (*offset_ptr < end_offset) { in extract() 139 uint64_t EntryOffset = *offset_ptr; in extract() [all …]
|
| H A D | DWARFDebugRangeList.cpp | 26 uint64_t *offset_ptr) { in extract() argument 28 if (!data.isValidOffset(*offset_ptr)) in extract() 30 "invalid range list offset 0x%" PRIx64, *offset_ptr); in extract() 36 Offset = *offset_ptr; in extract() 41 uint64_t prev_offset = *offset_ptr; in extract() 42 Entry.StartAddress = data.getRelocatedAddress(offset_ptr); in extract() 44 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract() 47 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
|
| H A D | DWARFUnit.cpp | 231 uint64_t *offset_ptr, in extract() argument 233 Offset = *offset_ptr; in extract() 237 debug_info.getInitialLength(offset_ptr, &Err); in extract() 238 FormParams.Version = debug_info.getU16(offset_ptr, &Err); in extract() 240 UnitType = debug_info.getU8(offset_ptr, &Err); in extract() 241 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract() 247 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract() 256 TypeHash = debug_info.getU64(offset_ptr, &Err); in extract() 258 offset_ptr, FormParams.getDwarfOffsetByteSize(), &Err); in extract() 260 DWOId = debug_info.getU64(offset_ptr, &Err); in extract() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | DataExtractor.h | 270 uint64_t getUnsigned(uint64_t *offset_ptr, uint32_t byte_size, 303 int64_t getSigned(uint64_t *offset_ptr, uint32_t size) const; 322 uint64_t getAddress(uint64_t *offset_ptr) const { in getAddress() argument 323 return getUnsigned(offset_ptr, AddressSize); in getAddress() 351 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const; 381 uint8_t *getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const; 425 uint16_t getU16(uint64_t *offset_ptr, Error *Err = nullptr) const; 455 uint16_t *getU16(uint64_t *offset_ptr, uint16_t *dst, uint32_t count) const; 505 uint32_t getU32(uint64_t *offset_ptr, Error *Err = nullptr) const; 535 uint32_t *getU32(uint64_t *offset_ptr, uint32_t *dst, uint32_t count) const; [all …]
|
| /freebsd-13.1/sys/mips/mips/ |
| H A D | stdatomic.c | 102 put_1(reg_t *r, const uint8_t *offset_ptr, uint8_t val) in put_1() argument 106 offset = (intptr_t)offset_ptr & 3; in put_1() 111 get_1(const reg_t *r, const uint8_t *offset_ptr) in get_1() argument 115 offset = (intptr_t)offset_ptr & 3; in get_1() 120 put_2(reg_t *r, const uint16_t *offset_ptr, uint16_t val) in put_2() argument 128 offset = (intptr_t)offset_ptr & 3; in put_2() 135 get_2(const reg_t *r, const uint16_t *offset_ptr) in get_2() argument 143 offset = (intptr_t)offset_ptr & 3; in get_2()
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | stdatomic.c | 139 put_1(reg_t *r, const uint8_t *offset_ptr, uint8_t val) in put_1() argument 143 offset = (intptr_t)offset_ptr & 3; in put_1() 148 get_1(const reg_t *r, const uint8_t *offset_ptr) in get_1() argument 152 offset = (intptr_t)offset_ptr & 3; in get_1() 157 put_2(reg_t *r, const uint16_t *offset_ptr, uint16_t val) in put_2() argument 165 offset = (intptr_t)offset_ptr & 3; in put_2() 172 get_2(const reg_t *r, const uint16_t *offset_ptr) in get_2() argument 180 offset = (intptr_t)offset_ptr & 3; in get_2()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | DWARFCallFrameInfo.cpp | 49 baseAddress = *offset_ptr; in GetGNUEHPointer() 89 offset_ptr += addr_size - alignOffset; in GetGNUEHPointer() 100 addressValue = DE.GetAddress(offset_ptr); in GetGNUEHPointer() 106 addressValue = DE.GetULEB128(offset_ptr); in GetGNUEHPointer() 109 addressValue = DE.GetU16(offset_ptr); in GetGNUEHPointer() 112 addressValue = DE.GetU32(offset_ptr); in GetGNUEHPointer() 115 addressValue = DE.GetU64(offset_ptr); in GetGNUEHPointer() 118 addressValue = DE.GetSLEB128(offset_ptr); in GetGNUEHPointer() 121 addressValue = (int16_t)DE.GetU16(offset_ptr); in GetGNUEHPointer() 124 addressValue = (int32_t)DE.GetU32(offset_ptr); in GetGNUEHPointer() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
| H A D | ObjectFileWasm.cpp | 162 bool ObjectFileWasm::DecodeNextSection(lldb::offset_t *offset_ptr) { in DecodeNextSection() argument 166 DataExtractor section_header_data = ReadImageData(*offset_ptr, kBufferSize); in DecodeNextSection() 196 m_sect_infos.push_back(section_info{*offset_ptr + c.tell(), section_length, in DecodeNextSection() 198 *offset_ptr += (c.tell() + section_length); in DecodeNextSection() 200 m_sect_infos.push_back(section_info{*offset_ptr + c.tell(), in DecodeNextSection() 203 *offset_ptr += (c.tell() + payload_len); in DecodeNextSection()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCClassDescriptorV2.cpp | 546 lldb::addr_t offset_ptr, in fill() 551 name, type, offset_ptr, size); in fill() 558 name, type, offset_ptr, size, in fill() 565 offset_ptr, offset_ptr_size, is_signed, offset_scalar, error); in fill() 567 LLDB_LOGV(log, "offset_ptr = {0:x} --> {1}", offset_ptr, in fill() 573 offset_ptr, read); in fill()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugRangeList.h | 71 Error extract(const DWARFDataExtractor &data, uint64_t *offset_ptr);
|