Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
dart::ReversePc Class Reference

#include <reverse_pc_lookup_cache.h>

Inheritance diagram for dart::ReversePc:
dart::AllStatic

Static Public Member Functions

static CodePtr Lookup (IsolateGroup *group, uword pc, bool is_return_address)
 
static const UntaggedCompressedStackMaps::PayloadFindStackMap (IsolateGroup *group, uword pc, bool is_return_address, uword *code_start, const UntaggedCompressedStackMaps::Payload **global_table)
 

Detailed Description

Definition at line 20 of file reverse_pc_lookup_cache.h.

Member Function Documentation

◆ FindStackMap()

const UntaggedCompressedStackMaps::Payload * dart::ReversePc::FindStackMap ( IsolateGroup group,
uword  pc,
bool  is_return_address,
uword code_start,
const UntaggedCompressedStackMaps::Payload **  global_table 
)
static

Definition at line 79 of file reverse_pc_lookup_cache.cc.

84 {
85 ASSERT(FLAG_precompiled_mode);
86 NoSafepointScope no_safepoint;
87
88 auto map = FindStackMapInGroup(group, pc, is_return_address, code_start,
89 global_table);
90 if (map == nullptr) {
91 map = FindStackMapInGroup(Dart::vm_isolate_group(), pc, is_return_address,
92 code_start, global_table);
93 }
94 return map;
95}
static IsolateGroup * vm_isolate_group()
Definition dart.h:69
#define ASSERT(E)
SI auto map(std::index_sequence< I... >, Fn &&fn, const Args &... args) -> skvx::Vec< sizeof...(I), decltype(fn(args[0]...))>
Definition SkVx.h:680

◆ Lookup()

CodePtr dart::ReversePc::Lookup ( IsolateGroup group,
uword  pc,
bool  is_return_address 
)
static

Definition at line 111 of file reverse_pc_lookup_cache.cc.

113 {
114 ASSERT(FLAG_precompiled_mode);
115 NoSafepointScope no_safepoint;
116
117 return FindCode(group, pc, is_return_address);
118}

The documentation for this class was generated from the following files: