| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | DataExtractor.cpp | 20 uint32_t offset = *offset_ptr; in getU() 27 *offset_ptr += sizeof(val); in getU() 35 uint32_t offset = *offset_ptr; in getUs() 42 *offset_ptr = offset; in getUs() 102 return getU8(offset_ptr); in getUnsigned() 104 return getU16(offset_ptr); in getUnsigned() 106 return getU32(offset_ptr); in getUnsigned() 108 return getU64(offset_ptr); in getUnsigned() 132 *offset_ptr = pos + 1; in getCStr() 165 *offset_ptr = offset; in getULEB128() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | DataExtractor.h | 273 uint64_t GetAddress(lldb::offset_t *offset_ptr) const; 366 const uint8_t *ptr = PeekData(*offset_ptr, length); in GetData() 368 *offset_ptr += length; in GetData() 478 float GetFloat(lldb::offset_t *offset_ptr) const; 480 double GetDouble(lldb::offset_t *offset_ptr) const; 685 uint8_t GetU8(lldb::offset_t *offset_ptr) const; 688 uint8_t val = m_start[*offset_ptr]; in GetU8_unchecked() 689 *offset_ptr += 1; in GetU8_unchecked() 741 uint16_t GetU16(lldb::offset_t *offset_ptr) const; 786 uint32_t GetU32(lldb::offset_t *offset_ptr) const; [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 403 *offset_ptr += sizeof(val); in GetU16_unchecked() 413 *offset_ptr += sizeof(val); in GetU32_unchecked() 423 *offset_ptr += sizeof(val); in GetU64_unchecked() 571 return GetU8(offset_ptr); in GetMaxU64() 573 return GetU16(offset_ptr); in GetMaxU64() 575 return GetU32(offset_ptr); in GetMaxU64() 603 *offset_ptr += byte_size; in GetMaxU64_unchecked() 692 *offset_ptr += CopyByteOrderedData(*offset_ptr, 10, &val, sizeof(val), in GetLongDouble() 695 *offset_ptr += CopyByteOrderedData(*offset_ptr, sizeof(val), &val, in GetLongDouble() 904 *offset_ptr += len; in GetCStr() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFFormValue.cpp | 282 *offset_ptr += m_value.value.uval; in ExtractValue() 305 *offset_ptr += size; in SkipValue() 310 *offset_ptr += size; in SkipValue() 315 *offset_ptr += size; in SkipValue() 320 *offset_ptr += size; in SkipValue() 342 *offset_ptr += ref_addr_size; in SkipValue() 356 *offset_ptr += 1; in SkipValue() 364 *offset_ptr += 2; in SkipValue() 370 *offset_ptr += 3; in SkipValue() 385 *offset_ptr += 4; in SkipValue() [all …]
|
| H A D | DWARFDebugLine.cpp | 382 lldb::offset_t *offset_ptr) { in ReadDescriptors() argument 420 prologue->prologue_length + *offset_ptr; in ParsePrologue() 424 debug_line_data.GetU8(offset_ptr); in ParsePrologue() 519 if (*offset_ptr != end_prologue_offset) { in ParsePrologue() 580 *offset_ptr = debug_line_offset; in ParseStatementTable() 593 while (*offset_ptr < end_offset) { in ParseStatementTable() 616 state.AppendRowToMatrix(*offset_ptr); in ParseStatementTable() 668 (*offset_ptr) += arg_size; in ParseStatementTable() 678 state.AppendRowToMatrix(*offset_ptr); in ParseStatementTable() 826 state.AppendRowToMatrix(*offset_ptr); in ParseStatementTable() [all …]
|
| H A D | DWARFDebugRanges.cpp | 49 lldb::offset_t range_offset = *offset_ptr; in Extract() 77 return range_offset != *offset_ptr; in Extract() 82 lldb::offset_t *offset_ptr, in Dump() argument 143 switch (data.GetU8(offset_ptr)) { in ExtractRangeList() 149 dw_addr_t len = data.GetULEB128(offset_ptr); in ExtractRangeList() 168 dw_addr_t begin = data.GetULEB128(offset_ptr); in ExtractRangeList() 169 dw_addr_t end = data.GetULEB128(offset_ptr); in ExtractRangeList() 175 dw_addr_t base = data.GetULEB128(offset_ptr); in ExtractRangeList() 181 dw_addr_t start = data.GetULEB128(offset_ptr); in ExtractRangeList() 182 dw_addr_t end = data.GetULEB128(offset_ptr); in ExtractRangeList() [all …]
|
| H A D | DWARFCompileUnit.cpp | 25 lldb::offset_t *offset_ptr) { in Extract() argument 29 cu_sp->m_offset = *offset_ptr; in Extract() 31 if (debug_info.ValidOffset(*offset_ptr)) { in Extract() 36 cu_sp->m_version = debug_info.GetU16(offset_ptr); in Extract() 39 cu_sp->m_unit_type = debug_info.GetU8(offset_ptr); in Extract() 40 cu_sp->m_addr_size = debug_info.GetU8(offset_ptr); in Extract() 41 abbr_offset = debug_info.GetDWARFOffset(offset_ptr); in Extract() 44 cu_sp->m_dwo_id = debug_info.GetU64(offset_ptr); in Extract() 46 abbr_offset = debug_info.GetDWARFOffset(offset_ptr); in Extract() 47 cu_sp->m_addr_size = debug_info.GetU8(offset_ptr); in Extract() [all …]
|
| H A D | DWARFAbbreviationDeclaration.cpp | 28 lldb::offset_t *offset_ptr) { in Extract() argument 29 return Extract(data, offset_ptr, data.GetULEB128(offset_ptr)); in Extract() 33 lldb::offset_t *offset_ptr, in Extract() argument 38 m_tag = data.GetULEB128(offset_ptr); in Extract() 39 m_has_children = data.GetU8(offset_ptr); in Extract() 41 while (data.ValidOffset(*offset_ptr)) { in Extract() 42 dw_attr_t attr = data.GetULEB128(offset_ptr); in Extract() 43 dw_form_t form = data.GetULEB128(offset_ptr); in Extract() 47 val.value.sval = data.GetULEB128(offset_ptr); in Extract()
|
| H A D | DWARFDebugMacinfoEntry.cpp | 67 lldb::offset_t *offset_ptr) { in Extract() argument 68 if (mac_info_data.ValidOffset(*offset_ptr)) { in Extract() 69 m_type_code = mac_info_data.GetU8(offset_ptr); in Extract() 79 m_line = mac_info_data.GetULEB128(offset_ptr); in Extract() 81 m_op2.cstr = mac_info_data.GetCStr(offset_ptr); in Extract() 88 m_line = mac_info_data.GetULEB128(offset_ptr); in Extract() 91 m_op2.file_idx = mac_info_data.GetULEB128(offset_ptr); in Extract() 102 m_line = mac_info_data.GetULEB128(offset_ptr); in Extract() 103 m_op2.cstr = mac_info_data.GetCStr(offset_ptr); in Extract()
|
| H A D | DWARFDebugArangeSet.cpp | 136 if (data.ValidOffset(*offset_ptr)) { in Extract() 138 m_offset = *offset_ptr; in Extract() 154 m_header.length = data.GetDWARFInitialLength(offset_ptr); in Extract() 155 m_header.version = data.GetU16(offset_ptr); in Extract() 156 m_header.cu_offset = data.GetDWARFOffset(offset_ptr); in Extract() 157 m_header.addr_size = data.GetU8(offset_ptr); in Extract() 158 m_header.seg_size = data.GetU8(offset_ptr); in Extract() 174 const uint32_t header_size = *offset_ptr - m_offset; in Extract() 180 *offset_ptr = m_offset + first_tuple_offset; in Extract() 189 while (data.ValidOffset(*offset_ptr)) { in Extract() [all …]
|
| H A D | DWARFDataExtractor.cpp | 15 DWARFDataExtractor::GetDWARFInitialLength(lldb::offset_t *offset_ptr) const { in GetDWARFInitialLength() 16 uint64_t length = GetU32(offset_ptr); in GetDWARFInitialLength() 19 length = GetU64(offset_ptr); in GetDWARFInitialLength() 24 DWARFDataExtractor::GetDWARFOffset(lldb::offset_t *offset_ptr) const { in GetDWARFOffset() 25 return GetMaxU64(offset_ptr, GetDWARFSizeOfOffset()); in GetDWARFOffset()
|
| H A D | DWARFDebugAbbrev.cpp | 30 lldb::offset_t *offset_ptr) { in Extract() argument 31 const lldb::offset_t begin_offset = *offset_ptr; in Extract() 36 while (abbrevDeclaration.Extract(data, offset_ptr)) { in Extract() 47 return begin_offset != *offset_ptr; in Extract()
|
| H A D | DWARFDebugRanges.h | 39 lldb::offset_t *offset_ptr, dw_addr_t cu_base_addr); 42 bool Extract(SymbolFileDWARF *dwarf2Data, lldb::offset_t *offset_ptr, 67 uint8_t addrSize, lldb::offset_t *offset_ptr,
|
| H A D | DWARFFormValue.h | 72 lldb::offset_t *offset_ptr); 85 lldb::offset_t *offset_ptr) const; 88 lldb::offset_t *offset_ptr, const DWARFUnit *cu);
|
| 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 | DWARFDebugInfoEntry.cpp | 39 lldb::offset_t *offset_ptr) { in FastExtract() argument 40 m_offset = *offset_ptr; in FastExtract() 51 lldb::offset_t offset = *offset_ptr; in FastExtract() 62 *offset_ptr = UINT32_MAX; in FastExtract() 188 *offset_ptr = m_offset; in FastExtract() 196 *offset_ptr = offset; in FastExtract() 221 lldb::offset_t offset = *offset_ptr; in Extract() 352 *offset_ptr = offset; in Extract() 360 *offset_ptr = offset; in Extract() 366 *offset_ptr = offset; in Extract() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | DataExtractor.h | 83 const char *getCStr(uint32_t *offset_ptr) const; 156 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const; 175 uint64_t getAddress(uint32_t *offset_ptr) const { in getAddress() argument 176 return getUnsigned(offset_ptr, AddressSize); in getAddress() 193 uint8_t getU8(uint32_t *offset_ptr) const; 236 uint16_t getU16(uint32_t *offset_ptr) const; 278 uint32_t getU24(uint32_t *offset_ptr) const; 294 uint32_t getU32(uint32_t *offset_ptr) const; 335 uint64_t getU64(uint32_t *offset_ptr) const; 378 int64_t getSLEB128(uint32_t *offset_ptr) const; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugArangeSet.cpp | 34 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument 35 if (data.isValidOffset(*offset_ptr)) { in extract() 37 Offset = *offset_ptr; in extract() 53 HeaderData.Length = data.getU32(offset_ptr); in extract() 54 HeaderData.Version = data.getU16(offset_ptr); in extract() 55 HeaderData.CuOffset = data.getU32(offset_ptr); in extract() 56 HeaderData.AddrSize = data.getU8(offset_ptr); in extract() 57 HeaderData.SegSize = data.getU8(offset_ptr); in extract() 70 const uint32_t header_size = *offset_ptr - Offset; in extract() 76 *offset_ptr = Offset + first_tuple_offset; in extract() [all …]
|
| H A D | DWARFDebugRangeList.cpp | 27 uint32_t *offset_ptr) { in extract() argument 29 if (!data.isValidOffset(*offset_ptr)) in extract() 31 "invalid range list offset 0x%" PRIx32, *offset_ptr); in extract() 37 Offset = *offset_ptr; in extract() 42 uint32_t prev_offset = *offset_ptr; in extract() 43 Entry.StartAddress = data.getRelocatedAddress(offset_ptr); in extract() 45 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract() 48 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
|
| H A D | DWARFUnit.cpp | 237 uint32_t *offset_ptr, in extract() argument 241 Offset = *offset_ptr; in extract() 244 IndexEntry = Index->getFromOffset(*offset_ptr); in extract() 245 Length = debug_info.getU32(offset_ptr); in extract() 249 FormParams.Version = debug_info.getU16(offset_ptr); in extract() 251 UnitType = debug_info.getU8(offset_ptr); in extract() 253 AbbrOffset = debug_info.getU32(offset_ptr); in extract() 276 TypeHash = debug_info.getU64(offset_ptr); in extract() 277 TypeOffset = debug_info.getU32(offset_ptr); in extract() 279 DWOId = debug_info.getU64(offset_ptr); in extract() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | AuxVector.cpp | 19 static bool GetMaxU64(DataExtractor &data, lldb::offset_t *offset_ptr, in GetMaxU64() argument 21 lldb::offset_t saved_offset = *offset_ptr; in GetMaxU64() 22 *value = data.GetMaxU64(offset_ptr, byte_size); in GetMaxU64() 23 return *offset_ptr != saved_offset; in GetMaxU64() 27 lldb::offset_t *offset_ptr, unsigned int byte_size) { in ParseAuxvEntry() argument 28 if (!GetMaxU64(data, offset_ptr, &entry.type, byte_size)) in ParseAuxvEntry() 31 if (!GetMaxU64(data, offset_ptr, &entry.value, byte_size)) in ParseAuxvEntry()
|
| /freebsd-12.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-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | DWARFCallFrameInfo.cpp | 53 baseAddress = *offset_ptr; in GetGNUEHPointer() 93 offset_ptr += addr_size - alignOffset; in GetGNUEHPointer() 104 addressValue = DE.GetAddress(offset_ptr); in GetGNUEHPointer() 110 addressValue = DE.GetULEB128(offset_ptr); in GetGNUEHPointer() 113 addressValue = DE.GetU16(offset_ptr); in GetGNUEHPointer() 116 addressValue = DE.GetU32(offset_ptr); in GetGNUEHPointer() 119 addressValue = DE.GetU64(offset_ptr); in GetGNUEHPointer() 122 addressValue = DE.GetSLEB128(offset_ptr); in GetGNUEHPointer() 125 addressValue = (int16_t)DE.GetU16(offset_ptr); in GetGNUEHPointer() 128 addressValue = (int32_t)DE.GetU32(offset_ptr); in GetGNUEHPointer() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 3083 uint8_t opcode = data.GetU8(offset_ptr); in print_dwarf_exp_op() 3099 uint = data.GetULEB128(offset_ptr); in print_dwarf_exp_op() 3100 sint = data.GetSLEB128(offset_ptr); in print_dwarf_exp_op() 3212 sint = (int8_t)data.GetU8(offset_ptr); in print_dwarf_exp_op() 3216 sint = (int16_t)data.GetU16(offset_ptr); in print_dwarf_exp_op() 3228 sint = data.GetSLEB128(offset_ptr); in print_dwarf_exp_op() 3232 uint = data.GetU8(offset_ptr); in print_dwarf_exp_op() 3236 uint = data.GetU16(offset_ptr); in print_dwarf_exp_op() 3240 uint = data.GetU32(offset_ptr); in print_dwarf_exp_op() 3244 uint = data.GetU64(offset_ptr); in print_dwarf_exp_op() [all …]
|
| /freebsd-12.1/sys/arm/arm/ |
| H A D | stdatomic.c | 389 put_1(reg_t *r, const uint8_t *offset_ptr, uint8_t val) in put_1() argument 393 offset = (intptr_t)offset_ptr & 3; in put_1() 398 get_1(const reg_t *r, const uint8_t *offset_ptr) in get_1() argument 402 offset = (intptr_t)offset_ptr & 3; in get_1() 407 put_2(reg_t *r, const uint16_t *offset_ptr, uint16_t val) in put_2() argument 415 offset = (intptr_t)offset_ptr & 3; in put_2() 422 get_2(const reg_t *r, const uint16_t *offset_ptr) in get_2() argument 430 offset = (intptr_t)offset_ptr & 3; in get_2()
|