v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::DebugInfo Class Reference

#include <wasm-debug.h>

Collaboration diagram for v8::internal::wasm::DebugInfo:

Public Member Functions

 DebugInfo (NativeModule *)
 
 ~DebugInfo ()
 
int GetNumLocals (Address pc, Isolate *isolate)
 
WasmValue GetLocalValue (int local, Address pc, Address fp, Address debug_break_fp, Isolate *isolate)
 
int GetStackDepth (Address pc, Isolate *isolate)
 
const wasm::WasmFunctionGetFunctionAtAddress (Address pc, Isolate *isolate)
 
WasmValue GetStackValue (int index, Address pc, Address fp, Address debug_break_fp, Isolate *isolate)
 
void SetBreakpoint (int func_index, int offset, Isolate *current_isolate)
 
bool IsFrameBlackboxed (WasmFrame *frame)
 
bool PrepareStep (WasmFrame *)
 
void PrepareStepOutTo (WasmFrame *)
 
void ClearStepping (Isolate *)
 
void ClearStepping (WasmFrame *)
 
bool IsStepping (WasmFrame *)
 
void RemoveBreakpoint (int func_index, int offset, Isolate *current_isolate)
 
void RemoveDebugSideTables (base::Vector< WasmCode *const >)
 
DebugSideTableGetDebugSideTableIfExists (const WasmCode *) const
 
void RemoveIsolate (Isolate *)
 
size_t EstimateCurrentMemoryConsumption () const
 

Private Attributes

std::unique_ptr< DebugInfoImplimpl_
 

Detailed Description

Definition at line 173 of file wasm-debug.h.

Constructor & Destructor Documentation

◆ DebugInfo()

v8::internal::wasm::DebugInfo::DebugInfo ( NativeModule * native_module)
explicit

Definition at line 818 of file wasm-debug.cc.

◆ ~DebugInfo()

v8::internal::wasm::DebugInfo::~DebugInfo ( )
default

Member Function Documentation

◆ ClearStepping() [1/2]

void v8::internal::wasm::DebugInfo::ClearStepping ( Isolate * isolate)

Definition at line 863 of file wasm-debug.cc.

◆ ClearStepping() [2/2]

void v8::internal::wasm::DebugInfo::ClearStepping ( WasmFrame * frame)

Definition at line 867 of file wasm-debug.cc.

◆ EstimateCurrentMemoryConsumption()

size_t v8::internal::wasm::DebugInfo::EstimateCurrentMemoryConsumption ( ) const

Definition at line 891 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ GetDebugSideTableIfExists()

DebugSideTable * v8::internal::wasm::DebugInfo::GetDebugSideTableIfExists ( const WasmCode * code) const

Definition at line 882 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ GetFunctionAtAddress()

const wasm::WasmFunction & v8::internal::wasm::DebugInfo::GetFunctionAtAddress ( Address pc,
Isolate * isolate )

Definition at line 841 of file wasm-debug.cc.

◆ GetLocalValue()

WasmValue v8::internal::wasm::DebugInfo::GetLocalValue ( int local,
Address pc,
Address fp,
Address debug_break_fp,
Isolate * isolate )

Definition at line 827 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ GetNumLocals()

int v8::internal::wasm::DebugInfo::GetNumLocals ( Address pc,
Isolate * isolate )

Definition at line 823 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ GetStackDepth()

int v8::internal::wasm::DebugInfo::GetStackDepth ( Address pc,
Isolate * isolate )

Definition at line 832 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ GetStackValue()

WasmValue v8::internal::wasm::DebugInfo::GetStackValue ( int index,
Address pc,
Address fp,
Address debug_break_fp,
Isolate * isolate )

Definition at line 836 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ IsFrameBlackboxed()

bool v8::internal::wasm::DebugInfo::IsFrameBlackboxed ( WasmFrame * frame)

Definition at line 851 of file wasm-debug.cc.

◆ IsStepping()

bool v8::internal::wasm::DebugInfo::IsStepping ( WasmFrame * frame)

Definition at line 869 of file wasm-debug.cc.

◆ PrepareStep()

bool v8::internal::wasm::DebugInfo::PrepareStep ( WasmFrame * frame)

Definition at line 855 of file wasm-debug.cc.

◆ PrepareStepOutTo()

void v8::internal::wasm::DebugInfo::PrepareStepOutTo ( WasmFrame * frame)

Definition at line 859 of file wasm-debug.cc.

◆ RemoveBreakpoint()

void v8::internal::wasm::DebugInfo::RemoveBreakpoint ( int func_index,
int offset,
Isolate * current_isolate )

Definition at line 873 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ RemoveDebugSideTables()

void v8::internal::wasm::DebugInfo::RemoveDebugSideTables ( base::Vector< WasmCode *const > code)

Definition at line 878 of file wasm-debug.cc.

Here is the caller graph for this function:

◆ RemoveIsolate()

void v8::internal::wasm::DebugInfo::RemoveIsolate ( Isolate * isolate)

Definition at line 887 of file wasm-debug.cc.

◆ SetBreakpoint()

void v8::internal::wasm::DebugInfo::SetBreakpoint ( int func_index,
int offset,
Isolate * current_isolate )

Definition at line 846 of file wasm-debug.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ impl_

std::unique_ptr<DebugInfoImpl> v8::internal::wasm::DebugInfo::impl_
private

Definition at line 222 of file wasm-debug.h.


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