| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger.cpp | 32 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()
|
| D | js_debugger.h | 44 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function 51 return bcOffset_ == bpoint.GetBytecodeOffset() && 90 (std::hash<uint32_t>()(bpoint.GetBytecodeOffset())); in operator()
|
| D | js_pt_location.h | 51 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
|
| D | debugger_api.h | 84 static uint32_t GetBytecodeOffset(const EcmaVM *ecmaVm); 85 static uint32_t GetBytecodeOffset(const FrameHandler *frameHandler);
|
| D | debugger_api.cpp | 114 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/ |
| D | instruction_handler_base.h | 114 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()
|
| D | instruction_handler_state.h | 128 ALWAYS_INLINE uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
|
| D | frame.h | 197 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/ |
| D | js_single_step_test.h | 67 ASSERT_NE(bytecodeOffset_, location.GetBytecodeOffset()); in JsSingleStepTest() 70 bytecodeOffset_ = location.GetBytecodeOffset(); in JsSingleStepTest()
|
| /arkcompiler/toolchain/tooling/backend/ |
| D | js_pt_hooks.cpp | 31 << location.GetBytecodeOffset(); in Breakpoint() 47 LOG_DEBUGGER(VERBOSE) << "JSPtHooks: SingleStep => " << location.GetBytecodeOffset(); in SingleStep()
|
| D | js_single_stepper.cpp | 127 DebuggerApi::GetBytecodeOffset(ecmaVm)); in GetStepper()
|
| /arkcompiler/runtime_core/static_core/runtime/include/tooling/ |
| D | pt_location.h | 43 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | debugger.h | 53 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
|
| D | debugger.cpp | 84 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/ |
| D | test_extractor.cpp | 35 retOffset = jsLocation.GetBytecodeOffset(); in GetBreakpointAddress()
|
| D | test_util.h | 164 …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/ |
| D | test_util.cpp | 44 … variables = extractor->GetLocalVariableInfo(location.GetMethodId(), location.GetBytecodeOffset()); in GetValueRegister()
|
| D | test_util.h | 301 ASSERT_EQ((lhs).GetBytecodeOffset(), (rhs).GetBytecodeOffset()); \
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | debugger_test.cpp | 122 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/ |
| D | debug_info_cache.cpp | 51 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/ |
| D | test_frame.h | 140 uint32_t GetBytecodeOffset() const override in GetBytecodeOffset() function
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/ |
| D | bridge.cpp | 94 pc = frame->GetMethod()->GetInstructions() + frame->GetBytecodeOffset(); in InvokeInterpreter()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
| D | js_stackgetter.cpp | 283 uint32_t offset = it.GetBytecodeOffset(); in GetNativeMethodCallPos() 336 uint32_t offset = itNext.GetBytecodeOffset(); in GetCallLineNumber()
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | frame_handler.h | 236 uint32_t GetBytecodeOffset() const;
|
| /arkcompiler/toolchain/tooling/agent/ |
| D | debugger_impl.cpp | 224 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()
|