Lines Matching defs:methodId

92     panda_file::File::EntityId methodId = method->GetMethodId();
93 if (!debugExtractor->MatchLineWithOffset(callbackLineFunc, methodId, pcOffset) ||
94 !debugExtractor->MatchColumnWithOffset(callbackColumnFunc, methodId, pcOffset)) {
106 uint32_t methodId = it->second;
108 if (methodId == 0) {
111 name = std::string(MethodLiteral::GetMethodName(pf, EntityId(methodId)));
321 panda_file::File::EntityId methodId = method->GetMethodId();
323 if (!debugExtractor->MatchLineWithOffset(callbackLineFunc, methodId, offset) ||
324 !debugExtractor->MatchColumnWithOffset(callbackColumnFunc, methodId, offset)) {
514 uintptr_t methodId = mda.GetMethodId().GetOffset();
522 return std::make_optional<MethodInfo>(methodId, codeBegin, codeSize);
567 return std::make_optional<CodeInfo>(realPc - vec[mid].codeBegin, vec[mid].methodId, vec[mid].codeSize);
590 EntityId methodId, uintptr_t offset, T &jsFrame, SourceMap *sourceMap)
596 std::string name = MethodLiteral::ParseFunctionName(jsPandaFile, methodId);
598 SaveFuncName(methodId, name);
599 std::string url = debugExtractor->GetSourceFile(methodId);
613 if (!debugExtractor->MatchLineWithOffset(callbackLineFunc, methodId, offset) ||
614 !debugExtractor->MatchColumnWithOffset(callbackColumnFunc, methodId, offset)) {
634 bool ArkParseJsFrameInfo(uintptr_t byteCodePc, uintptr_t methodId, uintptr_t mapBase, uintptr_t loadOffset,
662 LOG_ECMA(ERROR) << std::hex << "Failed to get methodId, pc: " << byteCodePc;
665 if (!methodId) {
666 methodId = codeInfo->methodId;
669 ParseJsFrameInfo(jsPandaFile, debugExtractor, EntityId(methodId), offset, *jsFunction, extractor->GetSourceMap());
880 bool ArkGetMethodIdFromMethod(void *ctx, ReadMemFunc readMem, uintptr_t method, uintptr_t &methodId)
887 methodId = MethodLiteral::MethodIdBits::Decode(methodLiteral);
891 bool ArkGetMethodId(void *ctx, ReadMemFunc readMem, uintptr_t frameType, uintptr_t currentPtr, uintptr_t &methodId)
905 if (!ArkGetMethodIdFromMethod(ctx, readMem, method, methodId)) {
913 uintptr_t &frameType, uintptr_t &pc, uintptr_t *methodId)
926 if (methodId != nullptr) {
927 ret = ArkGetMethodId(ctx, readMem, frameType, currentPtr, *methodId);
948 return ArkGetNextFrame(ctx, readMem, currentPtr, frameType, pc, methodId);
965 if (!ArkGetMethodIdFromMethod(arkUnwindParam->ctx, arkUnwindParam->readMem, method, *arkUnwindParam->methodId)) {
989 arkUnwindParam->jitCache.push_back(*arkUnwindParam->methodId);
990 JsStackInfo::machineCodeMap[EntityId(*arkUnwindParam->methodId)] = codeVec;
1010 if (arkUnwindParam->methodId != nullptr) {
1044 uintptr_t methodId = jitCodeArray[i];
1045 auto res = memos.insert(methodId);
1047 std::vector<uint8> codeVec = JsStackInfo::machineCodeMap[EntityId(methodId)];
1048 std::string name = JsStackInfo::nameMap[EntityId(methodId)];
1095 uintptr_t *pc, uintptr_t *methodId, bool *isJsFrame)
1105 if (ArkGetNextFrame(ctx, readMem, currentPtr, frameType, *pc, methodId)) {
1256 bool ArkGetMethodIdandJSPandaFileAddr(int pid, uintptr_t method, uintptr_t &methodId, uintptr_t &jsPandaFileAddr)
1263 methodId = MethodLiteral::MethodIdBits::Decode(methodLiteral);
1467 ParseJsFrameInfo(jsPandaFile.get(), debugExtractor.get(), JsFrameDebugInfos[i].methodId,
1474 ParseJsFrameInfo(jsPandaFile.get(), debugExtractor.get(), JsFrameDebugInfos[i].methodId,
1495 uintptr_t methodId = 0;
1496 if (!ArkGetMethodIdandJSPandaFileAddr(pid, method, methodId, jsPandaFileAddr)) {
1512 JsFrameDebugInfo JsFrameDebugInfo(EntityId(methodId), offset, hapPath, filePath);
1650 bool ArkParseJSFileInfo([[maybe_unused]] uintptr_t byteCodePc, [[maybe_unused]] uintptr_t methodId,
1670 ret = ArkParseJsFrameInfo(byteCodePc, methodId, mapBase, extractor->GetLoadOffset(),
1826 bool JSStackTrace::GetJsFrameInfo(uintptr_t byteCodePc, uintptr_t methodId, uintptr_t mapBase,
1838 LOG_ECMA(ERROR) << std::hex << "Failed to get methodId, pc: " << byteCodePc;
1841 if (!methodId) {
1842 methodId = codeInfo->methodId;
1847 ParseJsFrameInfo(jsPandaFiles_[mapBase].get(), debugInfoExtractor, EntityId(methodId), offset, *jsFunction);
1862 bool ArkParseJsFrameInfoLocal(uintptr_t byteCodePc, uintptr_t methodId, uintptr_t mapBase,
1870 return trace->GetJsFrameInfo(byteCodePc, methodId, mapBase, loadOffset, jsFunction);
1920 uintptr_t *pc, uintptr_t *methodId, bool *isJsFrame)
1922 if (panda::ecmascript::StepArk(ctx, readMem, fp, sp, pc, methodId, isJsFrame)) {
1929 uintptr_t byteCodePc, uintptr_t methodId, uintptr_t mapBase, uintptr_t loadOffset, uint8_t *data,
1932 if (panda::ecmascript::ArkParseJsFrameInfo(byteCodePc, methodId, mapBase, loadOffset, data,
1940 uintptr_t byteCodePc, uintptr_t methodId, uintptr_t mapBase, const char* filePath, uintptr_t extractorptr,
1943 if (panda::ecmascript::ArkParseJSFileInfo(byteCodePc, methodId, mapBase, filePath, extractorptr, jsFunction)) {
1969 uintptr_t byteCodePc, uintptr_t methodId, uintptr_t mapBase, uintptr_t loadOffset,
1972 if (panda::ecmascript::ArkParseJsFrameInfoLocal(byteCodePc, methodId, mapBase, loadOffset, jsFunction)) {