Home | History | Annotate | Download | only in dwarf

Lines Matching defs:Start

135 const char* CompilationUnit::SkipDIE(const char* start,
140 start = SkipAttribute(start, i->second);
142 return start;
146 const char* CompilationUnit::SkipAttribute(const char* start,
152 form = static_cast<enum DwarfForm>(reader_->ReadUnsignedLEB128(start,
154 start += len;
155 return SkipAttribute(start, form);
158 return start;
162 return start + 1;
165 return start + 2;
168 return start + 4;
172 return start + 8;
174 return start + strlen(start) + 1;
177 reader_->ReadUnsignedLEB128(start, &len);
178 return start + len;
181 reader_->ReadSignedLEB128(start, &len);
182 return start + len;
184 return start + reader_->AddressSize();
190 return start + reader_->AddressSize();
192 return start + reader_->OffsetSize();
197 return start + 1 + reader_->ReadOneByte(start);
199 return start + 2 + reader_->ReadTwoBytes(start);
201 return start + 4 + reader_->ReadFourBytes(start);
204 uint64 size = reader_->ReadUnsignedLEB128(start, &len);
205 return start + size + len;
209 return start + reader_->OffsetSize();
252 uint64 CompilationUnit::Start() {
299 // Now that we have our abbreviations, start processing DIE's.
309 uint64 dieoffset, const char* start, enum DwarfAttribute attr,
317 form = static_cast<enum DwarfForm>(reader_->ReadUnsignedLEB128(start,
319 start += len;
320 return ProcessAttribute(dieoffset, start, attr, form);
324 return start;
328 reader_->ReadOneByte(start));
329 return start + 1;
332 reader_->ReadTwoBytes(start));
333 return start + 2;
336 reader_->ReadFourBytes(start));
337 return start + 4;
340 reader_->ReadEightBytes(start));
341 return start + 8;
343 const char* str = start;
346 return start + strlen(str) + 1;
350 reader_->ReadUnsignedLEB128(start,
352 return start + len;
356 reader_->ReadSignedLEB128(start, &len));
357 return start + len;
360 reader_->ReadAddress(start));
361 return start + reader_->AddressSize();
364 reader_->ReadOffset(start));
365 return start + reader_->OffsetSize();
369 reader_->ReadOneByte(start)
371 return start + 1;
374 reader_->ReadTwoBytes(start)
376 return start + 2;
379 reader_->ReadFourBytes(start)
381 return start + 4;
384 reader_->ReadEightBytes(start)
386 return start + 8;
389 reader_->ReadUnsignedLEB128(start,
392 return start + len;
399 reader_->ReadAddress(start));
400 return start + reader_->AddressSize();
403 reader_->ReadOffset(start));
404 return start + reader_->OffsetSize();
409 reader_->ReadEightBytes(start));
410 return start + 8;
413 uint64 datalen = reader_->ReadOneByte(start);
414 handler_->ProcessAttributeBuffer(dieoffset, attr, form, start + 1,
416 return start + 1 + datalen;
419 uint64 datalen = reader_->ReadTwoBytes(start);
420 handler_->ProcessAttributeBuffer(dieoffset, attr, form, start + 2,
422 return start + 2 + datalen;
425 uint64 datalen = reader_->ReadFourBytes(start);
426 handler_->ProcessAttributeBuffer(dieoffset, attr, form, start + 4,
428 return start + 4 + datalen;
432 uint64 datalen = reader_->ReadUnsignedLEB128(start, &len);
433 start + len,
435 return start + datalen + len;
440 const uint64 offset = reader_->ReadOffset(start);
446 return start + reader_->OffsetSize();
454 const char* start,
459 start = ProcessAttribute(dieoffset, start, i->first, i->second);
461 return start;
473 // 0xffffffff at the start.
525 uint64 LineInfo::Start() {
619 const char* start,
626 uint8 opcode = reader->ReadOneByte(start);
628 start++;
661 uint64 advance_address = reader->ReadUnsignedLEB128(start, &templen);
674 const int64 advance_line = reader->ReadSignedLEB128(start, &templen);
688 const uint64 fileno = reader->ReadUnsignedLEB128(start, &templen);
694 const uint64 colno = reader->ReadUnsignedLEB128(start, &templen);
708 const uint16 advance_address = reader->ReadTwoBytes(start);
735 const uint64 extended_op_len = reader->ReadUnsignedLEB128(start,
737 start += templen;
740 const uint64 extended_op = reader->ReadOneByte(start);
741 start++;
755 uint64 address = reader->ReadAddress(start);
760 const char* filename = start;
763 start += templen;
765 uint64 dirindex = reader->ReadUnsignedLEB128(start, &templen);
768 const uint64 mod_time = reader->ReadUnsignedLEB128(start,
772 const uint64 filelength = reader->ReadUnsignedLEB128(start,
790 reader->ReadUnsignedLEB128(start, &templen);
791 start += templen;
810 // 0xffffffff at the start.
1290 uint64 CursorOffset() { return entry_->offset + (cursor_ - entry_->start); }
1771 entry->start = cursor;
1812 // anything else is an offset from the id field of the FDE to the start
1818 // Turn the offset from the id into an offset from the buffer's start.
1836 // The fields specific to this kind of entry start here.
2015 // The CIE's instructions start here.
2081 // The FDE's instructions start after those.
2087 bool CallFrameInfo::Start() {
2202 // Tell the ByteReader that the function start address from the