| /arkcompiler/toolchain/tooling/backend/ |
| D | debugger_executor.h | 24 class FrameHandler; variable 33 …static Local<JSValueRef> GetValue(const EcmaVM *vm, const FrameHandler *frameHandler, Local<String… 34 static bool SetValue(const EcmaVM *vm, FrameHandler *frameHandler, 46 …static Local<JSValueRef> GetLocalValue(const EcmaVM *vm, const FrameHandler *frameHandler, Local<S… 47 static Local<JSValueRef> GetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHandler, 49 …static Local<JSValueRef> GetModuleValue(const EcmaVM *vm, const FrameHandler *frameHandler, Local<… 52 static bool SetLocalValue(const EcmaVM *vm, FrameHandler *frameHandler, 54 static bool SetLexicalValue(const EcmaVM *vm, const FrameHandler *frameHandler, 56 static bool SetModuleValue(const EcmaVM *vm, const FrameHandler *frameHandler,
|
| D | debugger_executor.cpp | 88 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/ |
| D | frame_handler.cpp | 26 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 …]
|
| D | frame_handler.h | 34 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);
|
| D | interpreter-inl.h | 879 FrameHandler frameHandler(thread); in NotifyBytecodePcChanged() 898 FrameHandler frameHandler(thread); in NotifyDebuggerStmt() 916 FrameHandler frameHandler(thread); in MethodEntry() 934 FrameHandler frameHandler(thread); in MethodExit() 951 FrameHandler frameHandler(thread); in GetNativeCallPandafile() 970 FrameHandler frameHandler(thread); in GetCurrentEntryPoint() 1511 if (FrameHandler::IsEntryFrame(pc)) { in RunInternal() 1560 if (FrameHandler::IsEntryFrame(pc)) { in RunInternal() 3178 if (FrameHandler::IsEntryFrame(pc)) { in RunInternal() 3823 FrameHandler frameHandler(thread); in RunInternal() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | debugger_api.h | 31 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… 61 static uint32_t GetBytecodeOffset(const FrameHandler *frameHandler); 63 static Method *GetMethod(const FrameHandler *frameHandler); 65 static bool IsNativeMethod(const FrameHandler *frameHandler); 68 static JSTaggedValue GetEnv(const FrameHandler *frameHandler); 69 static JSTaggedType *GetSp(const FrameHandler *frameHandler); 70 static int32_t GetVregIndex(const FrameHandler *frameHandler, std::string_view name); 72 const FrameHandler *frameHandler, size_t index); [all …]
|
| D | js_debugger_manager.h | 39 std::function<void(const FrameHandler *, std::string_view, Local<JSValueRef>)>; 132 void SetEvalFrameHandler(std::shared_ptr<FrameHandler> frameHandler) in SetEvalFrameHandler() 137 const std::shared_ptr<FrameHandler> &GetEvalFrameHandler() const in GetEvalFrameHandler() 228 std::shared_ptr<FrameHandler> frameHandler_;
|
| D | debugger_api.cpp | 77 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepth() 87 std::shared_ptr<FrameHandler> DebuggerApi::NewFrameHandler(const EcmaVM *ecmaVm) in NewFrameHandler() 89 return std::make_shared<FrameHandler>(ecmaVm->GetJSThread()); in NewFrameHandler() 92 bool DebuggerApi::StackWalker(const EcmaVM *ecmaVm, std::function<StackState(const FrameHandler *)>… in StackWalker() 94 FrameHandler frameHandler(ecmaVm->GetJSThread()); in StackWalker() 114 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepthOverBuiltin() 129 return FrameHandler(ecmaVm->GetJSThread()).GetBytecodeOffset(); in GetBytecodeOffset() 134 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetMethod() 141 void DebuggerApi::SetVRegValue(FrameHandler *frameHandler, size_t index, Local<JSValueRef> value) in SetVRegValue() 146 uint32_t DebuggerApi::GetBytecodeOffset(const FrameHandler *frameHandler) in GetBytecodeOffset() [all …]
|
| D | js_debugger.cpp | 229 auto handlerPtr = std::make_shared<FrameHandler>(ecmaVm_->GetJSThread()); in IsBreakpointCondSatisfied() 251 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodEntry() 264 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodExit()
|
| D | dropframe_manager.cpp | 142 FrameHandler frameHandler(thread); in DropLastFrame()
|
| /arkcompiler/toolchain/tooling/agent/ |
| D | debugger_impl.h | 194 …bool GenerateCallFrame(CallFrame *callFrame, const FrameHandler *frameHandler, CallFrameId frameId… 195 void SaveCallFrameHandler(const FrameHandler *frameHandler); 196 std::unique_ptr<Scope> GetLocalScopeChain(const FrameHandler *frameHandler, 200 std::vector<std::unique_ptr<Scope>> GetClosureScopeChains(const FrameHandler *frameHandler, 202 void GetLocalVariables(const FrameHandler *frameHandler, panda_file::File::EntityId methodId, 206 …void UpdateScopeObject(const FrameHandler *frameHandler, std::string_view varName, Local<JSValueRe… 273 std::vector<std::shared_ptr<FrameHandler>> callFrameHandlers_;
|
| D | debugger_impl.cpp | 1351 …auto walkerFunc = [this, &callFrameId, &callFrames, &getScope](const FrameHandler *frameHandler) -… in GenerateCallFrames() 1371 void DebuggerImpl::SaveCallFrameHandler(const FrameHandler *frameHandler) in SaveCallFrameHandler() 1378 bool DebuggerImpl::GenerateCallFrame(CallFrame *callFrame, const FrameHandler *frameHandler, in GenerateCallFrame() 1452 std::unique_ptr<Scope> DebuggerImpl::GetLocalScopeChain(const FrameHandler *frameHandler, in GetLocalScopeChain() 1505 std::vector<std::unique_ptr<Scope>> DebuggerImpl::GetClosureScopeChains(const FrameHandler *frameHa… in GetClosureScopeChains() 1618 void DebuggerImpl::GetLocalVariables(const FrameHandler *frameHandler, panda_file::File::EntityId m… in GetLocalVariables() 1687 void DebuggerImpl::UpdateScopeObject(const FrameHandler *frameHandler, in UpdateScopeObject() 1740 FrameHandler *frameHandler = callFrameHandlers_[callFrameId].get(); in CmptEvaluateValue()
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | frame.h | 428 class FrameHandler { 430 ALWAYS_INLINE inline explicit FrameHandler(Frame *frame) : frame_(frame) {} in FrameHandler() function 617 ~FrameHandler() = default; 619 DEFAULT_COPY_SEMANTIC(FrameHandler); 620 DEFAULT_MOVE_SEMANTIC(FrameHandler); 632 class StaticFrameHandler : public FrameHandler { 634 ALWAYS_INLINE inline explicit StaticFrameHandler(Frame *frame) : FrameHandler(frame) {} in StaticFrameHandler() 655 class DynamicFrameHandler : public FrameHandler { 657 ALWAYS_INLINE inline explicit DynamicFrameHandler(Frame *frame) : FrameHandler(frame) {} in DynamicFrameHandler()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | scope_info_extractor.cpp | 31 Method *method = FrameHandler(thread).GetMethod(); in GenerateScopeInfo()
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | stacktrace.cpp | 289 static _Unwind_Reason_Code FrameHandler(struct _Unwind_Context *ctx, [[maybe_unused]] void *arg) in FrameHandler() function 304 _Unwind_Reason_Code res = _Unwind_Backtrace(FrameHandler, &bufWrapper); in GetStacktrace()
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | stacktrace.cpp | 289 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/ |
| D | js_stackgetter.cpp | 30 FrameType type = FrameHandler::GetFrameType(sp); in CheckFrameType() 46 type = FrameHandler::GetFrameType(preSp); in CheckFrameType()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | invoke_cache.cpp | 112 FrameHandler frameHandler(thread); in Construct()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_thread.cpp | 149 FrameHandler frameHandler(this); in GetCurrentLexenv() 172 auto frameHandler = FrameHandler(this); in GetCurrentInterpretedFrame() 231 FrameHandler frameHandler(this); in Iterate()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_sampling.cpp | 88 FrameHandler frameHandler(thread); in GetStack()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | error_helper.cpp | 210 FrameHandler frameHandler(thread); in GetErrorJSFunction()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | debugger.cpp | 899 template <class FrameHandler> 905 FrameHandler frameHandler(interpreterFrame); in FillRegisters()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | cpu_profiler.cpp | 466 FrameHandler frameHandler(thread); in GetStackSignalHandler()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs-inl.h | 796 FrameHandler frameHandler(thread); in RuntimeResolveClass() 2053 FrameHandler frameHandler(thread); in RuntimeNewObjRange() 2217 FrameHandler frameHandler(thread); in RuntimeCreateObjectWithExcludedKeys() 2358 FrameHandler frameHandler(thread); in RuntimeSuperCall() 3058 FrameHandler frameHandler(thread); in RuntimeNotifyDebuggerStatement()
|
| D | runtime_stubs.cpp | 1573 FrameHandler frameHandler(thread); in DEF_RUNTIME_STUBS() 2033 FrameHandler frameHandler(thread); in DEF_RUNTIME_STUBS() 2067 FrameHandler frameHandler(thread); in DEF_RUNTIME_STUBS() 2083 FrameHandler frameHandler(thread); in DEF_RUNTIME_STUBS() 2972 FrameHandler frameHandler(thread); in SaveFrameToContext()
|