/arkcompiler/toolchain/tooling/backend/ |
D | debugger_executor.h | 22 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,
|
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 | 846 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 …]
|
D | interpreter_assembly.cpp | 262 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/ |
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… 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 …]
|
D | js_debugger_manager.h | 36 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_;
|
D | debugger_api.cpp | 76 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 …]
|
D | js_debugger.cpp | 97 auto handlerPtr = std::make_shared<FrameHandler>(ecmaVm_->GetJSThread()); in HandleBreakpoint() 215 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodEntry() 228 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodExit()
|
D | dropframe_manager.cpp | 79 FrameHandler frameHandler(thread); in MethodEntry()
|
/arkcompiler/toolchain/tooling/agent/ |
D | debugger_impl.h | 152 …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_;
|
D | debugger_impl.cpp | 1063 …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/ |
D | scope_info_extractor.cpp | 30 Method *method = FrameHandler(thread).GetMethod(); in GenerateScopeInfo()
|
/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 | 29 FrameType type = FrameHandler::GetFrameType(sp); in CheckFrameType() 45 type = FrameHandler::GetFrameType(preSp); in CheckFrameType()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_thread.cpp | 144 FrameHandler frameHandler(this); in GetCurrentLexenv() 167 auto frameHandler = FrameHandler(this); in GetCurrentInterpretedFrame() 223 FrameHandler frameHandler(this); in Iterate()
|
D | frames.h | 526 friend class FrameHandler; member
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | invoke_cache.cpp | 112 FrameHandler frameHandler(thread); in Construct()
|
/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 | 208 FrameHandler frameHandler(thread); in GetErrorJSFunction()
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | cpu_profiler.cpp | 458 FrameHandler frameHandler(thread); in GetStackSignalHandler()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 764 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()
|
D | runtime_stubs.cpp | 1145 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/ |
D | js_module_manager.cpp | 48 FrameHandler frameHandler(vm_->GetJSThread()); in GetCurrentModule()
|