#include <exceptions.h>
Definition at line 283 of file exceptions.h.
◆ CatchEntryMovesMapReader()
dart::CatchEntryMovesMapReader::CatchEntryMovesMapReader |
( |
const TypedData & |
bytes | ) |
|
|
inlineexplicit |
◆ PrintEntries()
void dart::CatchEntryMovesMapReader::PrintEntries |
( |
| ) |
|
Definition at line 457 of file exceptions.cc.
457 {
458 NoSafepointScope no_safepoint;
459
460 using Reader = ReadStream::Raw<sizeof(intptr_t), intptr_t>;
461
463
464 while (
stream.PendingBytes() > 0) {
465 const intptr_t stream_position =
stream.Position();
469 const intptr_t
length = prefix_length + suffix_length;
471 for (intptr_t j = 0; j < prefix_length; j++) {
473 }
474
475 ReadStream inner_stream(
static_cast<uint8_t*
>(bytes_.
DataAddr(0)),
477 CatchEntryMoves* moves = ReadCompressedCatchEntryMovesSuffix(
478 &inner_stream, stream_position,
length);
479 THR_Print(
" [code+0x%08" Px "]: (% " Pd " moves)\n", target_pc_offset,
480 moves->count());
481 for (intptr_t
i = 0;
i < moves->count();
i++) {
483 }
485 }
486}
static CatchEntryMove ReadFrom(ReadStream *stream)
static void Free(const CatchEntryMoves *moves)
void * DataAddr(intptr_t byte_offset) const
#define THR_Print(format,...)
SK_API bool Read(SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)
◆ ReadMovesForPcOffset()
CatchEntryMoves * dart::CatchEntryMovesMapReader::ReadMovesForPcOffset |
( |
intptr_t |
pc_offset | ) |
|
Definition at line 489 of file exceptions.cc.
490 {
491 NoSafepointScope no_safepoint;
492
494
495 intptr_t position = 0;
498
499 return ReadCompressedCatchEntryMovesSuffix(&
stream, position,
length);
500}
The documentation for this class was generated from the following files: