Home
last modified time | relevance | path

Searched refs:Session (Results 1 – 25 of 119) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeExeSymbol.cpp23 static DbiStream *getDbiStreamPtr(NativeSession &Session) { in getDbiStreamPtr() argument
24 Expected<DbiStream &> DbiS = Session.getPDBFile().getPDBDbiStream(); in getDbiStreamPtr()
32 NativeExeSymbol::NativeExeSymbol(NativeSession &Session, SymIndexId SymbolId) in NativeExeSymbol() argument
33 : NativeRawSymbol(Session, PDB_SymType::Exe, SymbolId), in NativeExeSymbol()
34 Dbi(getDbiStreamPtr(Session)) {} in NativeExeSymbol()
40 return std::unique_ptr<IPDBEnumSymbols>(new NativeEnumModules(Session)); in findChildren()
44 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ARRAY); in findChildren()
46 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ENUM); in findChildren()
48 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_POINTER); in findChildren()
50 return Session.getSymbolCache().createTypeEnumerator( in findChildren()
[all …]
H A DNativeTypeFunctionSig.cpp29 NativeTypeFunctionArg(NativeSession &Session, in NativeTypeFunctionArg() argument
31 : NativeRawSymbol(Session, PDB_SymType::FunctionArg, 0), in NativeTypeFunctionArg()
38 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
49 NativeEnumFunctionArgs(NativeSession &Session, in NativeEnumFunctionArgs() argument
51 : Session(Session), TypeEnumerator(std::move(TypeEnumerator)) {} in NativeEnumFunctionArgs()
69 auto NTFA = std::make_unique<NativeTypeFunctionArg>(Session, std::move(S)); in wrap()
70 return PDBSymbol::create(Session, std::move(NTFA)); in wrap()
72 NativeSession &Session; member in __anonb5a81fdf0111::NativeEnumFunctionArgs
77 NativeTypeFunctionSig::NativeTypeFunctionSig(NativeSession &Session, in NativeTypeFunctionSig() argument
81 : NativeRawSymbol(Session, PDB_SymType::FunctionSig, Id), in NativeTypeFunctionSig()
[all …]
H A DNativeTypeEnum.cpp41 NativeEnumEnumEnumerators(NativeSession &Session,
55 NativeSession &Session; member in __anonb3ed33ab0111::NativeEnumEnumEnumerators
64 NativeSession &Session, const NativeTypeEnum &ClassParent) in NativeEnumEnumEnumerators() argument
65 : Session(Session), ClassParent(ClassParent) { in NativeEnumEnumEnumerators()
66 TpiStream &Tpi = cantFail(Session.getPDBFile().getPDBTpiStream()); in NativeEnumEnumEnumerators()
102 SymIndexId Id = Session.getSymbolCache() in getChildAtIndex()
106 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
118 NativeTypeEnum::NativeTypeEnum(NativeSession &Session, SymIndexId Id, in NativeTypeEnum() argument
120 : NativeRawSymbol(Session, PDB_SymType::Enum, Id), Index(Index), in NativeTypeEnum()
123 NativeTypeEnum::NativeTypeEnum(NativeSession &Session, SymIndexId Id, in NativeTypeEnum() argument
[all …]
H A DNativeTypeArray.cpp20 NativeTypeArray::NativeTypeArray(NativeSession &Session, SymIndexId Id, in NativeTypeArray() argument
23 : NativeRawSymbol(Session, PDB_SymType::ArrayType, Id), Record(Record), in NativeTypeArray()
33 dumpSymbolIdField(OS, "elementTypeId", getTypeId(), Indent, Session, in dump()
36 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
47 return Session.getSymbolCache().findSymbolByTypeIndex(Record.getIndexType()); in getArrayIndexTypeId()
58 Session.getSymbolCache().getNativeSymbolById(getTypeId()); in getCount()
63 return Session.getSymbolCache().findSymbolByTypeIndex( in getTypeId()
H A DNativeTypePointer.cpp20 NativeTypePointer::NativeTypePointer(NativeSession &Session, SymIndexId Id, in NativeTypePointer() argument
22 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI) { in NativeTypePointer()
27 NativeTypePointer::NativeTypePointer(NativeSession &Session, SymIndexId Id, in NativeTypePointer() argument
30 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI), in NativeTypePointer()
41 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, in dump()
45 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
48 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
76 return Session.getSymbolCache().findSymbolByTypeIndex(MPI.ContainingType); in getClassParentId()
105 return Session.getSymbolCache().findSymbolByTypeIndex(Referent); in getTypeId()
H A DNativeFunctionSymbol.cpp25 NativeFunctionSymbol::NativeFunctionSymbol(NativeSession &Session, in NativeFunctionSymbol() argument
29 : NativeRawSymbol(Session, PDB_SymType::Function, Id), Sym(Sym), in NativeFunctionSymbol()
56 return Session.getRVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getRelativeVirtualAddress()
60 return Session.getVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getVirtualAddress()
99 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineFramesByVA()
102 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineFramesByVA()
126 SymIndexId Id = Session.getSymbolCache().getOrCreateInlineSymbol( in findInlineFramesByVA()
146 return std::make_unique<NativeEnumSymbols>(Session, std::move(Frames)); in findInlineFramesByVA()
H A DNativeInlineSiteSymbol.cpp29 NativeSession &Session, SymIndexId Id, const codeview::InlineSiteSym &Sym, in NativeInlineSiteSymbol() argument
31 : NativeRawSymbol(Session, PDB_SymType::InlineSite, Id), Sym(Sym), in NativeInlineSiteSymbol()
64 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in getName()
69 auto Ipi = Session.getPDBFile().getPDBIpiStream(); in getName()
190 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineeLinesByVA()
193 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineeLinesByVA()
225 Session.getSymbolCache().getOrCreateSourceFile(*ChecksumIter); in findInlineeLinesByVA()
228 Session.addressForVA(VA, LineSect, LineOff); in findInlineeLinesByVA()
229 NativeLineNumber LineNum(Session, SrcLine, SrcCol, LineSect, LineOff, Length, in findInlineeLinesByVA()
231 auto SrcFile = Session.getSymbolCache().getSourceFileById(SrcFileId); in findInlineeLinesByVA()
H A DSymbolCache.cpp78 SymbolCache::SymbolCache(NativeSession &Session, DbiStream *Dbi) in SymbolCache() argument
79 : Session(Session), Dbi(Dbi) { in SymbolCache()
95 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in createTypeEnumerator()
102 new NativeEnumTypes(Session, Types, std::move(Kinds))); in createTypeEnumerator()
108 new NativeEnumGlobals(Session, {Kind})); in createGlobalsEnumerator()
173 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in findSymbolByTypeIndex()
260 return PDBSymbol::create(Session, *NRS); in getSymbolById()
279 SymbolStream &SS = cantFail(Session.getPDBFile().getPDBSymbolStream()); in getOrCreateGlobalSymbolByOffset()
323 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findSymbolBySectOffset()
349 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findFunctionSymbolBySectOffset()
[all …]
H A DNativeEnumGlobals.cpp27 : Index(0), Session(PDBSession) { in NativeEnumGlobals()
28 GlobalsStream &GS = cantFail(Session.getPDBFile().getPDBGlobalsStream()); in NativeEnumGlobals()
29 SymbolStream &SS = cantFail(Session.getPDBFile().getPDBSymbolStream()); in NativeEnumGlobals()
48 Session.getSymbolCache().getOrCreateGlobalSymbolByOffset(MatchOffsets[N]); in getChildAtIndex()
49 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
H A DNativeLineNumber.cpp15 NativeLineNumber::NativeLineNumber(const NativeSession &Session, in NativeLineNumber() argument
20 : Session(Session), Line(Line), ColumnNumber(ColumnNumber), in NativeLineNumber()
39 return Session.getRVAFromSectOffset(Section, Offset); in getRelativeVirtualAddress()
43 return Session.getVAFromSectOffset(Section, Offset); in getVirtualAddress()
H A DNativeTypeUDT.cpp20 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
22 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), Index(TI), in NativeTypeUDT()
25 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
27 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), Index(TI), in NativeTypeUDT()
30 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
33 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), in NativeTypeUDT()
45 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
50 Session, PdbSymbolIdField::UnmodifiedType, ShowIdFields, in dump()
95 return Session.getSymbolCache().findSymbolByTypeIndex(Class->VTableShape); in getVirtualTableShapeId()
H A DNativeSourceFile.cpp18 NativeSourceFile::NativeSourceFile(NativeSession &Session, uint32_t FileId, in NativeSourceFile() argument
20 : Session(Session), FileId(FileId), Checksum(Checksum) {} in NativeSourceFile()
23 auto ST = Session.getPDBFile().getStringTable(); in getFileName()
H A DNativeTypeTypedef.cpp9 NativeTypeTypedef::NativeTypeTypedef(NativeSession &Session, SymIndexId Id, in NativeTypeTypedef() argument
11 : NativeRawSymbol(Session, PDB_SymType::Typedef, Id), in NativeTypeTypedef()
21 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
30 return Session.getSymbolCache().findSymbolByTypeIndex(Record.Type); in getTypeId()
H A DNativePublicSymbol.cpp18 NativePublicSymbol::NativePublicSymbol(NativeSession &Session, SymIndexId Id, in NativePublicSymbol() argument
20 : NativeRawSymbol(Session, PDB_SymType::PublicSymbol, Id), Sym(Sym) {} in NativePublicSymbol()
42 return Session.getRVAFromSectOffset(Sym.Segment, Sym.Offset); in getRelativeVirtualAddress()
46 return Session.getVAFromSectOffset(Sym.Segment, Sym.Offset); in getVirtualAddress()
H A DNativeSymbolEnumerator.cpp20 NativeSession &Session, SymIndexId Id, const NativeTypeEnum &Parent, in NativeSymbolEnumerator() argument
22 : NativeRawSymbol(Session, PDB_SymType::Data, Id), Parent(Parent), in NativeSymbolEnumerator()
31 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, in dump()
35 Session, PdbSymbolIdField::LexicalParent, ShowIdFields, in dump()
38 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
H A DNativeEnumTypes.cpp28 : Index(0), Session(PDBSession) { in NativeEnumTypes()
54 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
62 SymIndexId Id = Session.getSymbolCache().findSymbolByTypeIndex(Matches[N]); in getChildAtIndex()
63 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASession.cpp85 DIASession::DIASession(CComPtr<IDiaSession> DiaSession) : Session(DiaSession) {} in DIASession()
88 std::unique_ptr<IPDBSession> &Session) { in createFromPdb() argument
109 Session.reset(new DIASession(DiaSession)); in createFromPdb()
114 std::unique_ptr<IPDBSession> &Session) { in createFromExe() argument
134 Session.reset(new DIASession(DiaSession)); in createFromExe()
140 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); in getLoadAddress()
145 return (S_OK == Session->put_loadAddress(Address)); in setLoadAddress()
150 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
163 if (S_OK == Session->addressForVA(VA, &ArgSection, &ArgOffset)) { in addressForVA()
174 if (S_OK == Session->addressForRVA(RVA, &ArgSection, &ArgOffset)) { in addressForRVA()
[all …]
H A DDIAEnumSymbols.cpp19 : Session(PDBSession), Enumerator(DiaEnumerator) {} in DIAEnumSymbols()
32 std::unique_ptr<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item)); in getChildAtIndex()
33 return std::unique_ptr<PDBSymbol>(PDBSymbol::create(Session, std::move(RawSymbol))); in getChildAtIndex()
42 std::unique_ptr<DIARawSymbol> RawSymbol(new DIARawSymbol(Session, Item)); in getNext()
44 PDBSymbol::create(Session, std::move(RawSymbol))); in getNext()
/freebsd/crypto/openssh/
H A Dsession.h30 typedef struct Session Session; typedef
31 struct Session { struct
74 void session_destroy_all(struct ssh *, void (*)(Session *)); argument
75 void session_pty_cleanup2(Session *);
77 Session *session_new(void);
78 Session *session_by_tty(char *);
79 void session_close(struct ssh *, Session *);
H A Dsession.c125 Session *session_new(void);
126 void session_set_fds(struct ssh *, Session *, int, int, int, int, int);
127 void session_pty_cleanup(Session *);
128 void session_proctitle(Session *);
129 int session_setup_x11fwd(struct ssh *, Session *);
130 int do_exec_pty(struct ssh *, Session *, const char *);
131 int do_exec_no_pty(struct ssh *, Session *, const char *);
132 int do_exec(struct ssh *, Session *, const char *);
133 void do_login(struct ssh *, Session *, const char *);
134 void do_child(struct ssh *, Session *, const char *);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDB.cpp23 std::unique_ptr<IPDBSession> &Session) { in loadDataForPDB() argument
26 return NativeSession::createFromPdbPath(Path, Session); in loadDataForPDB()
29 return DIASession::createFromPdb(Path, Session); in loadDataForPDB()
36 std::unique_ptr<IPDBSession> &Session) { in loadDataForEXE() argument
42 return NativeSession::createFromPdbPath(PdbPath.get(), Session); in loadDataForEXE()
46 return DIASession::createFromExe(Path, Session); in loadDataForEXE()
H A DPDBContext.cpp27 : DIContext(CK_PDB), Session(std::move(PDBSession)) { in PDBContext()
30 Session->setLoadAddress(ImageBase.get()); in PDBContext()
42 Session->findSymbolByAddress(Address.Address, PDB_SymType::None); in getLineInfoForAddress()
51 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Length); in getLineInfoForAddress()
57 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress()
82 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Size); in getLineInfoForAddressRange()
102 Session->findSymbolByAddress(Address.Address, PDB_SymType::Function); in getInliningInfoForAddress()
125 auto SourceFile = Session->getSourceFileById(Line->getSourceFileId()); in getInliningInfoForAddress()
149 Session->findSymbolByAddress(Address, PDB_SymType::Function); in getFunctionName()
157 Session->findSymbolByAddress(Address, PDB_SymType::PublicSymbol); in getFunctionName()
H A DPDBSymbolTypeFunctionSig.cpp31 : Session(PDBSession), in FunctionArgEnumerator()
36 : Session(PDBSession), Enumerator(std::move(ArgEnumerator)) {} in FunctionArgEnumerator()
46 return Session.getSymbolById(FunctionArgSymbol->getTypeId()); in getChildAtIndex()
53 return Session.getSymbolById(FunctionArgSymbol->getTypeId()); in getNext()
59 const IPDBSession &Session; member in __anonb5d4328e0111::FunctionArgEnumerator
66 return std::make_unique<FunctionArgEnumerator>(Session, *this); in getArguments()
H A DPDBSymbolFunc.cpp35 : Session(PDBSession), Func(PDBFunc) { in FunctionArgEnumerator()
59 return Session.getConcreteSymbolById<PDBSymbolData>( in getChildAtIndex()
68 return Session.getConcreteSymbolById<PDBSymbolData>(Result.getSymIndexId()); in getNext()
75 const IPDBSession &Session; member in __anon036c2d8f0111::FunctionArgEnumerator
84 return std::make_unique<FunctionArgEnumerator>(Session, *this); in getArguments()
102 return Session.findLineNumbersByAddress(RawSymbol->getVirtualAddress(), in getLineNumbers()
H A DPDBSymbolData.cpp24 return Session.findLineNumbersByRVA(RVA, Len); in getLineNumbers()
27 return Session.findLineNumbersBySectOffset( in getLineNumbers()
43 Session.addressForRVA(RVA, DataSection, DataOffset); in getCompilandId()
47 if (auto SecContribs = Session.getSectionContribs()) { in getCompilandId()
57 while (auto LexParent = Session.getSymbolById(LexParentId)) { in getCompilandId()

12345