Home
last modified time | relevance | path

Searched refs:GetBytecodeOffset (Results 1 – 25 of 40) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_debugger.cpp32 if (location.GetBytecodeOffset() >= ptMethod->GetCodeSize()) { in SetBreakpoint()
38 location.GetBytecodeOffset(), Global<FunctionRef>(ecmaVm_, condFuncRef)); in SetBreakpoint()
56 if (location.GetBytecodeOffset() >= ptMethod->GetCodeSize()) { in SetSmartBreakpoint()
62 … location.GetBytecodeOffset(), Global<FunctionRef>(ecmaVm_, FunctionRef::Undefined(ecmaVm_))); in SetSmartBreakpoint()
80 if (!RemoveBreakpoint(ptMethod, location.GetBytecodeOffset())) { in RemoveBreakpoint()
210 if ((bp.GetBytecodeOffset() == bcOffset) && in FindBreakpoint()
222 if ((bp.GetBytecodeOffset() == bcOffset) && in FindSmartBreakpoint()
235 if ((bp.GetBytecodeOffset() == bcOffset) && in RemoveBreakpoint()
250 if ((bp.GetBytecodeOffset() == bcOffset) && in RemoveSmartBreakpoint()
Djs_debugger.h44 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
51 return bcOffset_ == bpoint.GetBytecodeOffset() &&
90 (std::hash<uint32_t>()(bpoint.GetBytecodeOffset())); in operator()
Djs_pt_location.h51 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
Ddebugger_api.h84 static uint32_t GetBytecodeOffset(const EcmaVM *ecmaVm);
85 static uint32_t GetBytecodeOffset(const FrameHandler *frameHandler);
Ddebugger_api.cpp114 uint32_t DebuggerApi::GetBytecodeOffset(const EcmaVM *ecmaVm) in GetBytecodeOffset() function in panda::ecmascript::tooling::DebuggerApi
116 return FrameHandler(ecmaVm->GetJSThread()).GetBytecodeOffset(); in GetBytecodeOffset()
133 uint32_t DebuggerApi::GetBytecodeOffset(const FrameHandler *frameHandler) in GetBytecodeOffset() function in panda::ecmascript::tooling::DebuggerApi
135 return frameHandler->GetBytecodeOffset(); in GetBytecodeOffset()
187 uint32_t currentOffset = frameHandler->GetBytecodeOffset(); in GetVregIndex()
895 if (method->FindCatchBlock(frameHandler.GetBytecodeOffset()) != INVALID_INDEX) { in IsExceptionCaught()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dinstruction_handler_base.h114 auto pc = GetBytecodeOffset(); in UpdateBytecodeOffset()
302 ALWAYS_INLINE uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
304 return state_->GetBytecodeOffset(); in GetBytecodeOffset()
317 auto pc = this->GetBytecodeOffset(); in UpdateBranchStatistics()
330 auto pc = this->GetBytecodeOffset(); in UpdateThrowStatistics()
342 …return method->DecrementHotnessCounter<false>(this->GetBytecodeOffset() + offset, &this->GetAcc(),… in UpdateHotnessOSR()
Dinstruction_handler_state.h128 ALWAYS_INLINE uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
Dframe.h197 ALWAYS_INLINE inline uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
487 ALWAYS_INLINE inline uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
489 return frame_->GetBytecodeOffset(); in GetBytecodeOffset()
/arkcompiler/toolchain/tooling/test/testcases/
Djs_single_step_test.h67 ASSERT_NE(bytecodeOffset_, location.GetBytecodeOffset()); in JsSingleStepTest()
70 bytecodeOffset_ = location.GetBytecodeOffset(); in JsSingleStepTest()
/arkcompiler/toolchain/tooling/backend/
Djs_pt_hooks.cpp31 << location.GetBytecodeOffset(); in Breakpoint()
47 LOG_DEBUGGER(VERBOSE) << "JSPtHooks: SingleStep => " << location.GetBytecodeOffset(); in SingleStep()
Djs_single_stepper.cpp127 DebuggerApi::GetBytecodeOffset(ecmaVm)); in GetStepper()
/arkcompiler/runtime_core/static_core/runtime/include/tooling/
Dpt_location.h43 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebugger.h53 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
60 … return GetMethod() == bpoint.GetMethod() && GetBytecodeOffset() == bpoint.GetBytecodeOffset();
76 … (std::hash<Method *>()(bpoint.GetMethod())) ^ (std::hash<uint32_t>()(bpoint.GetBytecodeOffset())); in operator()
86 …std::hash<uint32_t>()(location.GetBytecodeOffset()); // CODECHECK-NOLINT(C_RULE_ID_INDENT_… in operator()
546 uint32_t GetBytecodeOffset() const override in GetBytecodeOffset() function
Ddebugger.cpp84 if (location.GetBytecodeOffset() >= codeSize) { in CheckLocationInClass()
87 … std::to_string(location.GetBytecodeOffset()) + ") >= method code size (" + in CheckLocationInClass()
140 std::to_string(location.GetBytecodeOffset())); in SetBreakpoint()
684 BytecodeInstruction inst(method->GetInstructions() + location.GetBytecodeOffset()); in HandlePropertyAccess()
731 BytecodeInstruction inst(method->GetInstructions() + location.GetBytecodeOffset()); in HandlePropertyModify()
946 bcOffset_ = interpreterFrame->GetBytecodeOffset(); in PtDebugFrame()
/arkcompiler/toolchain/tooling/test/utils/
Dtest_extractor.cpp35 retOffset = jsLocation.GetBytecodeOffset(); in GetBreakpointAddress()
Dtest_util.h164 …tractor.GetSourceLocation(jsPandaFile.get(), location.GetMethodId(), location.GetBytecodeOffset()); in GetSourceLocation()
301 ASSERT_EQ((lhs).GetBytecodeOffset(), (rhs).GetBytecodeOffset()); \
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_util.cpp44 … variables = extractor->GetLocalVariableInfo(location.GetMethodId(), location.GetBytecodeOffset()); in GetValueRegister()
Dtest_util.h301 ASSERT_EQ((lhs).GetBytecodeOffset(), (rhs).GetBytecodeOffset()); \
/arkcompiler/runtime_core/static_core/runtime/tests/
Ddebugger_test.cpp122 EXPECT_EQ(debugFrame.GetBytecodeOffset(), BYTECODE_OFFSET); in CheckFrame()
147 EXPECT_EQ(debugFrame.GetBytecodeOffset(), BYTECODE_OFFSET); in CheckFrame()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Ddebug_info_cache.cpp51 auto lineNumberIter = std::upper_bound(table.begin(), table.end(), frame.GetBytecodeOffset(), in GetSourceLocation()
65 auto it = std::upper_bound(table.begin(), table.end(), frame.GetBytecodeOffset(), in GetCurrentLineLocations()
308 auto frameOffset = frame.GetBytecodeOffset(); in GetLocals()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
Dtest_frame.h140 uint32_t GetBytecodeOffset() const override in GetBytecodeOffset() function
/arkcompiler/runtime_core/static_core/runtime/bridge/
Dbridge.cpp94 pc = frame->GetMethod()->GetInstructions() + frame->GetBytecodeOffset(); in InvokeInterpreter()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp283 uint32_t offset = it.GetBytecodeOffset(); in GetNativeMethodCallPos()
336 uint32_t offset = itNext.GetBytecodeOffset(); in GetCallLineNumber()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.h236 uint32_t GetBytecodeOffset() const;
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp224 if (!singleStepper_->StepComplete(location.GetBytecodeOffset())) { in NotifySingleStep()
261 uint32_t offset = location.GetBytecodeOffset(); in IsSkipLine()
317 uint32_t offset = location->GetBytecodeOffset(); in NotifyPaused()
1705 …if (!extractor->MatchLineWithOffset(callbackLineFunc, methodId, DebuggerApi::GetBytecodeOffset(fra… in GenerateCallFrame()
1706 …r->MatchColumnWithOffset(callbackColumnFunc, methodId, DebuggerApi::GetBytecodeOffset(frameHandler… in GenerateCallFrame()
1707 …GER(ERROR) << "GenerateCallFrame: unknown offset: " << DebuggerApi::GetBytecodeOffset(frameHandler… in GenerateCallFrame()
1928 uint32_t bcOffset = DebuggerApi::GetBytecodeOffset(frameHandler); in GetLocalVariables()

12