Home
last modified time | relevance | path

Searched refs:debugInfo (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/
H A DinheritanceResolution.cpp51 auto *debugInfo = debugInfoStorage->GetDebugInfoByModuleName(moduleName); in GetSuperClassModuleAndClassName() local
52 if (UNLIKELY(debugInfo == nullptr)) { in GetSuperClassModuleAndClassName()
56 return std::make_pair(util::UString(recordName, debugInfoStorage->Allocator()).View(), debugInfo); in GetSuperClassModuleAndClassName()
89 auto [superClassName, debugInfo] = *optClassInfo; in GetSuperClass()
90 return ResolveInheritanceChain(superClassName, debugInfo); in GetSuperClass()
94 FileDebugInfo *debugInfo) in ResolveInheritanceChain()
96 ASSERT(debugInfo); in ResolveInheritanceChain()
98 auto *program = debugInfoPlugin_.GetProxyProgramsCache()->GetProgram(debugInfo->sourceFilePath); in ResolveInheritanceChain()
104 return ResolveInheritanceChainImpl(abcSuperName, debugInfo); in ResolveInheritanceChain()
108 FileDebugInfo *debugInfo) in ResolveInheritanceChainImpl()
93 ResolveInheritanceChain(util::StringView abcSuperName, FileDebugInfo *debugInfo) ResolveInheritanceChain() argument
107 ResolveInheritanceChainImpl(util::StringView abcSuperName, FileDebugInfo *debugInfo) ResolveInheritanceChainImpl() argument
141 CollectChainInfo(ArenaVector<ChainEntryInfo> &chainEntryList, util::StringView abcSuperName, FileDebugInfo *debugInfo) CollectChainInfo() argument
[all...]
H A DdebugInfoDeserializer.h77 ir::ETSTypeReference *ResolveInheritanceChain(util::StringView abcSuperName, FileDebugInfo *debugInfo);
79 ir::ETSTypeReference *ResolveInheritanceChainImpl(util::StringView abcSuperName, FileDebugInfo *debugInfo);
87 FileDebugInfo *debugInfo);
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Ddebug_info_cache.h62 for (auto &[file, debugInfo] : debugInfos_) { in EnumerateLineEntries()
63 if (!pandaFileFilter(file, debugInfo)) { in EnumerateLineEntries()
67 for (auto methodId : debugInfo.GetMethodIdList()) { in EnumerateLineEntries()
68 if (!methodFilter(file, debugInfo, methodId)) { in EnumerateLineEntries()
72 EnumerateLineEntries(file, debugInfo, methodId, std::forward<H>(handler)); in EnumerateLineEntries()
78 void EnumerateLineEntries(const panda_file::File *file, const disasm::DisasmBackedDebugInfoExtractor &debugInfo,
81 auto &table = debugInfo.GetLineNumberTable(methodId); in REQUIRES()
84 if (!handler(file, debugInfo, methodId, *it, next != table.end() ? &*next : nullptr)) { in REQUIRES()
H A Ddebug_info_cache.cpp41 auto &debugInfo = GetDebugInfo(pandaFile); in GetSourceLocation() local
42 sourceFile = debugInfo.GetSourceFile(method->GetFileId()); in GetSourceLocation()
50 auto &table = debugInfo.GetLineNumberTable(method->GetFileId()); in GetSourceLocation()
93 [sourceFile](auto, auto &debugInfo, auto methodId) { return debugInfo.GetSourceFile(methodId) == sourceFile; }, in GetContinueToLocations()
129 [&sourceFileFilter](auto, auto &debugInfo, auto methodId) { in GetBreakpointLocations()
130 return sourceFileFilter(debugInfo.GetSourceFile(methodId)); in GetBreakpointLocations()
132 [lineNumber, &sourceFiles, &locations](auto pandaFile, auto &debugInfo, auto methodId, in GetBreakpointLocations()
135 sourceFiles.insert(debugInfo.GetSourceFile(methodId)); in GetBreakpointLocations()
158 [sourceFile](auto, auto &debugInfo, aut in GetValidLineNumbers()
299 auto &debugInfo = GetDebugInfo(method->GetPandaFile()); GetLocals() local
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DregScope.cpp70 auto *debugInfo = &pg_->debugInfo_.variableDebugInfo; in LocalRegScope() local
71 if (pg_->IsDebug() && std::find(debugInfo->begin(), debugInfo->end(), pg_->scope_) == debugInfo->end()) { in LocalRegScope()
72 debugInfo->push_back(pg_->scope_); in LocalRegScope()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DdebugInfoStorage.cpp78 auto *debugInfo = allocator_->New<FileDebugInfo>(std::move(pf), classId, moduleName); in LoadFileDebugInfo() local
79 auto sourceFileId = debugInfo->globalClassAcc.GetSourceFileId(); in LoadFileDebugInfo()
81 std::string_view sourceFileName = utf::Mutf8AsCString(debugInfo->pf->GetStringData(*sourceFileId).data); in LoadFileDebugInfo()
82 debugInfo->sourceFilePath = sourceFileName; in LoadFileDebugInfo()
84 sourceFileToDebugInfo_.emplace(sourceFileName, debugInfo); in LoadFileDebugInfo()
85 moduleNameToDebugInfo_.emplace(moduleName, debugInfo); in LoadFileDebugInfo()
H A DdebugInfoStorage.h89 for (const auto &[sourceFilePath, debugInfo] : sourceFileToDebugInfo_) { in EnumerateContextFiles()
90 if (!cb(sourceFilePath, debugInfo->pf.get(), debugInfo->globalClassAcc, debugInfo->moduleName)) { in EnumerateContextFiles()
/arkcompiler/toolchain/test/fuzztest/wsserver/wsserversendreply_fuzzer/
H A Dwsserversendreply_fuzzer.cpp40 DebugInfo debugInfo = {fd, "toolchain", instanceId, port}; in WsServerSendReplyFuzzTest() local
41 WsServer wsServer(debugInfo, fun); in WsServerSendReplyFuzzTest()
/arkcompiler/toolchain/test/fuzztest/wsserver/wsservernotifydisconnectevent_fuzzer/
H A Dwsservernotifydisconnectevent_fuzzer.cpp40 DebugInfo debugInfo = {fd, "toolchain", instanceId, port}; in WsServerNotifyDisconnectEventFuzzTest() local
41 WsServer wsServer(debugInfo, fun); in WsServerNotifyDisconnectEventFuzzTest()
/arkcompiler/toolchain/test/fuzztest/wsserver/wsserver_fuzzer/
H A Dwsserver_fuzzer.cpp40 DebugInfo debugInfo = {fd, "toolchain", instanceId, port}; in WsServerFuzzTest() local
41 WsServer wsServer(debugInfo, fun); in WsServerFuzzTest()
/arkcompiler/toolchain/inspector/
H A Dinspector.cpp150 void* vm, const DebuggerPostTask& debuggerPostTask, const DebugInfo& debugInfo, int tidForSocketPair = 0) in InitializeInspector()
166 newInspector->websocketServer_ = std::make_unique<WsServer>(debugInfo, in InitializeInspector()
364 DebugInfo debugInfo = {socketfd}; in StartDebugForSocketpair() local
365 if (!InitializeInspector(vm, debuggerPostTask, debugInfo, tid)) { in StartDebugForSocketpair()
393 DebugInfo debugInfo = {startDebugInOldProcess, componentName, instanceId, port}; in StartDebug() local
394 if (!InitializeInspector(vm, debuggerPostTask, debugInfo)) { in StartDebug()
149 InitializeInspector( void* vm, const DebuggerPostTask& debuggerPostTask, const DebugInfo& debugInfo, int tidForSocketPair = 0) InitializeInspector() argument
H A Dws_server.cpp31 WsServer::WsServer(const DebugInfo& debugInfo, const std::function<void(std::string&&)>& onMessage) in WsServer() argument
32 : debugInfo_(debugInfo), wsOnMessage_(onMessage) in WsServer()
H A Dws_server.h40 WsServer(const DebugInfo& debugInfo, const std::function<void(std::string&&)>& onMessage);
/arkcompiler/runtime_core/static_core/irtoc/backend/
H A Ddwarf_builder.cpp116 auto debugInfo = inst->GetDebugInfo(); in BuildGraphNestedFunction() local
117 if (debugInfo == nullptr) { in BuildGraphNestedFunction()
121 auto dirIndex {AddDir(sourceDirs[debugInfo->GetDirIndex()])}; in BuildGraphNestedFunction()
122 auto fileIndex {AddFile(sourceFiles[debugInfo->GetFileIndex()], dirIndex)}; in BuildGraphNestedFunction()
123 if (dwarf_add_line_entry(dwarf_, fileIndex, debugInfo->GetOffset(), debugInfo->GetLineNumber(), 0, 1, 0, in BuildGraphNestedFunction()
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dstacktrace.cpp47 DebugInfo debugInfo; // NOLINT(misc-non-private-member-variables-in-classes) member
127 if (ReadDebugInfo(vma) && vma->debugInfo.GetSrcLocation(pcOffset, &function, &srcFile, &line)) { in PrintFrame()
214 if (!vma->filename.empty() && vma->debugInfo.ReadFromFile(vma->filename.c_str()) == DebugInfo::SUCCESS) { in ReadDebugInfo()
/arkcompiler/runtime_core/static_core/disassembler/tests/
H A Dfunctions_test.cpp124 ark::panda_file::DebugInfoExtractor debugInfo(pf.get()); in BuildPandaMethod()
125 auto methodIds = debugInfo.GetMethodIdList(); in BuildPandaMethod()
/arkcompiler/runtime_core/static_core/assembler/
H A Dassembly-emitter.cpp1286 auto *debugInfo = items->CreateItem<DebugInfoItem>(lineNumberProgram); in SetCodeAndDebugInfo() local
1291 debugInfo->AddParameter(items->GetOrCreateStringItem(v.name)); in SetCodeAndDebugInfo()
1297 debugInfo->AddParameter(nullptr); in SetCodeAndDebugInfo()
1300 method->SetDebugInfo(debugInfo); in SetCodeAndDebugInfo()
1413 auto *debugInfo = method->GetDebugInfo(); in EmitDebugInfo() local
1414 if (debugInfo == nullptr) { in EmitDebugInfo()
1418 auto *lineNumberProgram = debugInfo->GetLineNumberProgram(); in EmitDebugInfo()
1419 auto *constantPool = debugInfo->GetConstantPool(); in EmitDebugInfo()
1438 func.BuildLineNumberProgram(debugInfo, *bytes, items, constantPool, emitDebugInfo); in EmitDebugInfo()
1534 PandaFileToPandaAsmMaps *maps, bool debugInfo, ar in Emit()
1533 Emit(Writer *writer, const Program &program, std::map<std::string, size_t> *stat, PandaFileToPandaAsmMaps *maps, bool debugInfo, ark::panda_file::pgo::ProfileOptimizer *profileOpt) Emit() argument
1549 Emit(const std::string &filename, const Program &program, std::map<std::string, size_t> *stat, PandaFileToPandaAsmMaps *maps, bool debugInfo, ark::panda_file::pgo::ProfileOptimizer *profileOpt) Emit() argument
[all...]
H A Dassembly-emitter.h60 PandaFileToPandaAsmMaps *maps = nullptr, bool debugInfo = true,
66 PandaFileToPandaAsmMaps *maps = nullptr, bool debugInfo = true,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_codegen.cpp688 std::string debugInfo = "\t\t;"; in GetCalleeReg2Offset() local
689 debugInfo += module->GetDebugInfo()->GetComment(funcName, info.Line - 1); in GetCalleeReg2Offset()
691 if (len + debugInfo.size() < outStringSize) { in GetCalleeReg2Offset()
692 if (strcpy_s(outString + len, outStringSize - len, debugInfo.c_str()) != EOK) { in GetCalleeReg2Offset()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSchecker.cpp273 void ETSChecker::SetDebugInfoPlugin(evaluate::ScopedDebugInfoPlugin *debugInfo) in SetDebugInfoPlugin() argument
275 debugInfoPlugin_ = debugInfo; in SetDebugInfoPlugin()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcircuit.cpp24 Circuit::Circuit(NativeAreaAllocator* allocator, DebugInfo* debugInfo, const char* funcName, in Circuit() argument
35 debugInfo_(debugInfo) in Circuit()
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
H A Delf_builder.h1061 auto debugInfo {cfiGen.GetDebugInfo()}; in FillFrameSection()
1064 GetFrameSection()->AppendData(debugInfo.data(), debugInfo.size()); in FillFrameSection()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dir_constructor.h1119 auto debugInfo = graph_->GetAllocator()->New<InstDebugInfo>(dirNumber, fileNumber, lineNumber); in Loc() local
1120 CurrentInst()->SetDebugInfo(debugInfo); in Loc()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_items.h914 void SetDebugInfo(DebugInfoItem *debugInfo) in SetDebugInfo() argument
916 debugInfo_ = debugInfo; in SetDebugInfo()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dcodegen.cpp466 auto debugInfo = inst->GetDebugInfo(); in VisitGraph() local
467 if (GetGraph()->IsLineDebugInfoEnabled() && debugInfo != nullptr) { in VisitGraph()
468 debugInfo->SetOffset(GetEncoder()->GetCursorOffset()); in VisitGraph()

Completed in 27 milliseconds

12