Home
last modified time | relevance | path

Searched refs:FrameHandler (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/toolchain/tooling/backend/
Ddebugger_executor.h22 class FrameHandler; variable
31 …static Local<JSValueRef> GetValue(const EcmaVM *vm, const FrameHandler *frameHandler, Local<String…
32 static bool SetValue(const EcmaVM *vm, FrameHandler *frameHandler,
44 …static Local<JSValueRef> GetLocalValue(const EcmaVM *vm, const FrameHandler *frameHandler, Local<S…
45 static Local<JSValueRef> GetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHandler,
47 …static Local<JSValueRef> GetModuleValue(const EcmaVM *vm, const FrameHandler *frameHandler, Local<…
50 static bool SetLocalValue(const EcmaVM *vm, FrameHandler *frameHandler,
52 static bool SetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHandler,
54 static bool SetModuleValue(const EcmaVM *vm, const FrameHandler *frameHandler,
Ddebugger_executor.cpp88 Local<JSValueRef> DebuggerExecutor::GetValue(const EcmaVM *vm, const FrameHandler *frameHandler, Lo… in GetValue()
111 bool DebuggerExecutor::SetValue(const EcmaVM *vm, FrameHandler *frameHandler, in SetValue()
137 Local<JSValueRef> DebuggerExecutor::GetLocalValue(const EcmaVM *vm, const FrameHandler *frameHandle… in GetLocalValue()
151 bool DebuggerExecutor::SetLocalValue(const EcmaVM *vm, FrameHandler *frameHandler, in SetLocalValue()
165 Local<JSValueRef> DebuggerExecutor::GetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHand… in GetLexicalValue()
179 bool DebuggerExecutor::SetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHandler, in SetLexicalValue()
203 Local<JSValueRef> DebuggerExecutor::GetModuleValue(const EcmaVM *vm, const FrameHandler *frameHandl… in GetModuleValue()
221 bool DebuggerExecutor::SetModuleValue(const EcmaVM *vm, const FrameHandler *frameHandler, in SetModuleValue()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp26 FrameHandler::FrameHandler(const JSThread *thread) in FrameHandler() function in panda::ecmascript::FrameHandler
32 FrameHandler::FrameHandler(const JSThread *thread, void *fp) in FrameHandler() function in panda::ecmascript::FrameHandler
38 ARK_INLINE void FrameHandler::AdvanceToJSFrame() in AdvanceToJSFrame()
53 ARK_INLINE void FrameHandler::PrevJSFrame() in PrevJSFrame()
75 JSTaggedType* FrameHandler::GetPrevJSFrame() in GetPrevJSFrame()
81 uint32_t FrameHandler::GetNumberArgs() in GetNumberArgs()
101 JSTaggedValue FrameHandler::GetVRegValue(size_t index) const in GetVRegValue()
108 void FrameHandler::SetVRegValue(size_t index, JSTaggedValue value) in SetVRegValue()
115 JSTaggedValue FrameHandler::GetAcc() const in GetAcc()
128 uint32_t FrameHandler::GetBytecodeOffset() const in GetBytecodeOffset()
[all …]
Dframe_handler.h34 class FrameHandler {
36 explicit FrameHandler(const JSThread *thread);
38 FrameHandler(const JSThread *thread, void *fp);
39 ~FrameHandler() = default;
41 DEFAULT_COPY_SEMANTIC(FrameHandler);
42 DEFAULT_MOVE_SEMANTIC(FrameHandler);
Dinterpreter-inl.h846 FrameHandler frameHandler(thread); in NotifyBytecodePcChanged()
865 FrameHandler frameHandler(thread); in NotifyDebuggerStmt()
883 FrameHandler frameHandler(thread); in MethodEntry()
900 FrameHandler frameHandler(thread); in MethodExit()
917 FrameHandler frameHandler(thread); in GetNativeCallPandafile()
936 FrameHandler frameHandler(thread); in GetCurrentEntryPoint()
1466 if (FrameHandler::IsEntryFrame(pc)) { in RunInternal()
1515 if (FrameHandler::IsEntryFrame(pc)) { in RunInternal()
3127 if (FrameHandler::IsEntryFrame(pc)) { in RunInternal()
3767 FrameHandler frameHandler(thread); in RunInternal()
[all …]
Dinterpreter_assembly.cpp262 ASSERT(FrameHandler::GetFrameType(sp) == FrameType::INTERPRETER_ENTRY_FRAME); in Execute()
2739 if (FrameHandler::IsEntryFrame(pc)) { in HandleAsyncgeneratorresolveV8V8V8()
4405 if (FrameHandler::IsEntryFrame(pc)) { in HandleDeprecatedSuspendgeneratorPrefV8V8()
7449 FrameHandler frameHandler(thread); in ExceptionHandler()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.h31 class FrameHandler; variable
56 static std::shared_ptr<FrameHandler> NewFrameHandler(const EcmaVM *ecmaVm);
57 …static bool StackWalker(const EcmaVM *ecmaVm, std::function<StackState(const FrameHandler *)> func…
60 static uint32_t GetBytecodeOffset(const FrameHandler *frameHandler);
62 static Method *GetMethod(const FrameHandler *frameHandler);
64 static bool IsNativeMethod(const FrameHandler *frameHandler);
67 static JSTaggedValue GetEnv(const FrameHandler *frameHandler);
68 static JSTaggedType *GetSp(const FrameHandler *frameHandler);
69 static int32_t GetVregIndex(const FrameHandler *frameHandler, std::string_view name);
71 const FrameHandler *frameHandler, size_t index);
[all …]
Djs_debugger_manager.h36 std::function<void(const FrameHandler *, std::string_view, Local<JSValueRef>)>;
102 void SetEvalFrameHandler(std::shared_ptr<FrameHandler> frameHandler) in SetEvalFrameHandler()
107 const std::shared_ptr<FrameHandler> &GetEvalFrameHandler() const in GetEvalFrameHandler()
159 std::shared_ptr<FrameHandler> frameHandler_;
Ddebugger_api.cpp76 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepth()
86 std::shared_ptr<FrameHandler> DebuggerApi::NewFrameHandler(const EcmaVM *ecmaVm) in NewFrameHandler()
88 return std::make_shared<FrameHandler>(ecmaVm->GetJSThread()); in NewFrameHandler()
91 bool DebuggerApi::StackWalker(const EcmaVM *ecmaVm, std::function<StackState(const FrameHandler *)>… in StackWalker()
93 FrameHandler frameHandler(ecmaVm->GetJSThread()); in StackWalker()
112 return FrameHandler(ecmaVm->GetJSThread()).GetBytecodeOffset(); in GetBytecodeOffset()
117 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetMethod()
124 void DebuggerApi::SetVRegValue(FrameHandler *frameHandler, size_t index, Local<JSValueRef> value) in SetVRegValue()
129 uint32_t DebuggerApi::GetBytecodeOffset(const FrameHandler *frameHandler) in GetBytecodeOffset()
134 Method *DebuggerApi::GetMethod(const FrameHandler *frameHandler) in GetMethod()
[all …]
Djs_debugger.cpp97 auto handlerPtr = std::make_shared<FrameHandler>(ecmaVm_->GetJSThread()); in HandleBreakpoint()
215 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodEntry()
228 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodExit()
Ddropframe_manager.cpp79 FrameHandler frameHandler(thread); in MethodEntry()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.h152 …bool GenerateCallFrame(CallFrame *callFrame, const FrameHandler *frameHandler, CallFrameId frameId…
153 void SaveCallFrameHandler(const FrameHandler *frameHandler);
154 std::unique_ptr<Scope> GetLocalScopeChain(const FrameHandler *frameHandler,
158 void GetLocalVariables(const FrameHandler *frameHandler, panda_file::File::EntityId methodId,
160 void GetClosureVariables(const FrameHandler *frameHandler, Local<JSValueRef> &thisVal,
163 …void UpdateScopeObject(const FrameHandler *frameHandler, std::string_view varName, Local<JSValueRe…
219 std::vector<std::shared_ptr<FrameHandler>> callFrameHandlers_;
Ddebugger_impl.cpp1063 …auto walkerFunc = [this, &callFrameId, &callFrames](const FrameHandler *frameHandler) -> StackStat… in GenerateCallFrames()
1083 void DebuggerImpl::SaveCallFrameHandler(const FrameHandler *frameHandler) in SaveCallFrameHandler()
1091 const FrameHandler *frameHandler, CallFrameId callFrameId) in GenerateCallFrame()
1157 std::unique_ptr<Scope> DebuggerImpl::GetLocalScopeChain(const FrameHandler *frameHandler, in GetLocalScopeChain()
1232 void DebuggerImpl::GetLocalVariables(const FrameHandler *frameHandler, panda_file::File::EntityId m… in GetLocalVariables()
1279 void DebuggerImpl::GetClosureVariables(const FrameHandler *frameHandler, Local<JSValueRef> &thisVal, in GetClosureVariables()
1347 void DebuggerImpl::UpdateScopeObject(const FrameHandler *frameHandler, in UpdateScopeObject()
1400 FrameHandler *frameHandler = callFrameHandlers_[callFrameId].get(); in CmptEvaluateValue()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp30 Method *method = FrameHandler(thread).GetMethod(); in GenerateScopeInfo()
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp289 static _Unwind_Reason_Code FrameHandler(struct _Unwind_Context *ctx, [[maybe_unused]] void *arg) in FrameHandler() function
307 _Unwind_Reason_Code res = _Unwind_Backtrace(FrameHandler, &buf_wrapper); in GetStacktrace()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp29 FrameType type = FrameHandler::GetFrameType(sp); in CheckFrameType()
45 type = FrameHandler::GetFrameType(preSp); in CheckFrameType()
/arkcompiler/ets_runtime/ecmascript/
Djs_thread.cpp144 FrameHandler frameHandler(this); in GetCurrentLexenv()
167 auto frameHandler = FrameHandler(this); in GetCurrentInterpretedFrame()
223 FrameHandler frameHandler(this); in Iterate()
Dframes.h526 friend class FrameHandler; member
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp112 FrameHandler frameHandler(thread); in Construct()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_sampling.cpp88 FrameHandler frameHandler(thread); in GetStack()
/arkcompiler/ets_runtime/ecmascript/base/
Derror_helper.cpp208 FrameHandler frameHandler(thread); in GetErrorJSFunction()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dcpu_profiler.cpp458 FrameHandler frameHandler(thread); in GetStackSignalHandler()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h764 FrameHandler frameHandler(thread); in RuntimeResolveClass()
1866 FrameHandler frameHandler(thread); in RuntimeNewObjRange()
1980 FrameHandler frameHandler(thread); in RuntimeCreateObjectWithExcludedKeys()
2090 FrameHandler frameHandler(thread); in RuntimeSuperCall()
2639 FrameHandler frameHandler(thread); in RuntimeNotifyDebuggerStatement()
Druntime_stubs.cpp1145 FrameHandler frameHandler(thread); in DEF_RUNTIME_STUBS()
1535 FrameHandler frameHandler(thread); in DEF_RUNTIME_STUBS()
2290 FrameHandler frameHandler(thread); in SaveFrameToContext()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_manager.cpp48 FrameHandler frameHandler(vm_->GetJSThread()); in GetCurrentModule()

12