Home
last modified time | relevance | path

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

123456

/netbsd-src/external/apache2/llvm/dist/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.cpp28 NativeTypeFunctionArg(NativeSession &Session, in NativeTypeFunctionArg() argument
30 : NativeRawSymbol(Session, PDB_SymType::FunctionArg, 0), in NativeTypeFunctionArg()
37 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
48 NativeEnumFunctionArgs(NativeSession &Session, in NativeEnumFunctionArgs() argument
50 : Session(Session), TypeEnumerator(std::move(TypeEnumerator)) {} in NativeEnumFunctionArgs()
68 auto NTFA = std::make_unique<NativeTypeFunctionArg>(Session, std::move(S)); in wrap()
69 return PDBSymbol::create(Session, std::move(NTFA)); in wrap()
71 NativeSession &Session; member in __anon062b27ea0111::NativeEnumFunctionArgs
76 NativeTypeFunctionSig::NativeTypeFunctionSig(NativeSession &Session, in NativeTypeFunctionSig() argument
80 : NativeRawSymbol(Session, PDB_SymType::FunctionSig, Id), in NativeTypeFunctionSig()
[all …]
H A DNativeTypeEnum.cpp41 NativeEnumEnumEnumerators(NativeSession &Session,
55 NativeSession &Session; member in __anon6fe002160111::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()
99 SymIndexId Id = Session.getSymbolCache() in getChildAtIndex()
103 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
115 NativeTypeEnum::NativeTypeEnum(NativeSession &Session, SymIndexId Id, in NativeTypeEnum() argument
117 : NativeRawSymbol(Session, PDB_SymType::Enum, Id), Index(Index), in NativeTypeEnum()
120 NativeTypeEnum::NativeTypeEnum(NativeSession &Session, SymIndexId Id, in NativeTypeEnum() argument
[all …]
H A DNativeTypeArray.cpp19 NativeTypeArray::NativeTypeArray(NativeSession &Session, SymIndexId Id, in NativeTypeArray() argument
22 : NativeRawSymbol(Session, PDB_SymType::ArrayType, Id), Record(Record), in NativeTypeArray()
32 dumpSymbolIdField(OS, "elementTypeId", getTypeId(), Indent, Session, in dump()
35 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
46 return Session.getSymbolCache().findSymbolByTypeIndex(Record.getIndexType()); in getArrayIndexTypeId()
57 Session.getSymbolCache().getNativeSymbolById(getTypeId()); in getCount()
62 return Session.getSymbolCache().findSymbolByTypeIndex( in getTypeId()
H A DNativeInlineSiteSymbol.cpp23 NativeSession &Session, SymIndexId Id, const codeview::InlineSiteSym &Sym, in NativeInlineSiteSymbol() argument
25 : NativeRawSymbol(Session, PDB_SymType::InlineSite, Id), Sym(Sym), in NativeInlineSiteSymbol()
58 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in getName()
63 auto Ipi = Session.getPDBFile().getPDBIpiStream(); in getName()
132 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineeLinesByVA()
135 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineeLinesByVA()
167 Session.getSymbolCache().getOrCreateSourceFile(*ChecksumIter); in findInlineeLinesByVA()
170 Session.addressForVA(VA, LineSect, LineOff); in findInlineeLinesByVA()
171 NativeLineNumber LineNum(Session, SrcLine, SrcCol, LineSect, LineOff, Length, in findInlineeLinesByVA()
173 auto SrcFile = Session.getSymbolCache().getSourceFileById(SrcFileId); in findInlineeLinesByVA()
H A DNativeTypePointer.cpp19 NativeTypePointer::NativeTypePointer(NativeSession &Session, SymIndexId Id, in NativeTypePointer() argument
21 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI) { in NativeTypePointer()
26 NativeTypePointer::NativeTypePointer(NativeSession &Session, SymIndexId Id, in NativeTypePointer() argument
29 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI), in NativeTypePointer()
40 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, in dump()
44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
47 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
75 return Session.getSymbolCache().findSymbolByTypeIndex(MPI.ContainingType); in getClassParentId()
104 return Session.getSymbolCache().findSymbolByTypeIndex(Referent); in getTypeId()
H A DNativeFunctionSymbol.cpp21 NativeFunctionSymbol::NativeFunctionSymbol(NativeSession &Session, in NativeFunctionSymbol() argument
25 : NativeRawSymbol(Session, PDB_SymType::Function, Id), Sym(Sym), in NativeFunctionSymbol()
52 return Session.getRVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getRelativeVirtualAddress()
56 return Session.getVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getVirtualAddress()
95 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineFramesByVA()
98 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineFramesByVA()
122 SymIndexId Id = Session.getSymbolCache().getOrCreateInlineSymbol( in findInlineFramesByVA()
142 return std::make_unique<NativeEnumSymbols>(Session, std::move(Frames)); in findInlineFramesByVA()
H A DSymbolCache.cpp73 SymbolCache::SymbolCache(NativeSession &Session, DbiStream *Dbi) in SymbolCache() argument
74 : Session(Session), Dbi(Dbi) { in SymbolCache()
90 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in createTypeEnumerator()
97 new NativeEnumTypes(Session, Types, std::move(Kinds))); in createTypeEnumerator()
103 new NativeEnumGlobals(Session, {Kind})); in createGlobalsEnumerator()
168 auto Tpi = Session.getPDBFile().getPDBTpiStream(); in findSymbolByTypeIndex()
255 return PDBSymbol::create(Session, *NRS); in getSymbolById()
274 SymbolStream &SS = cantFail(Session.getPDBFile().getPDBSymbolStream()); in getOrCreateGlobalSymbolByOffset()
318 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findSymbolBySectOffset()
344 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findFunctionSymbolBySectOffset()
[all …]
H A DNativeTypeUDT.cpp19 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
21 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), Index(TI), in NativeTypeUDT()
24 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
26 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), Index(TI), in NativeTypeUDT()
29 NativeTypeUDT::NativeTypeUDT(NativeSession &Session, SymIndexId Id, in NativeTypeUDT() argument
32 : NativeRawSymbol(Session, PDB_SymType::UDT, Id), in NativeTypeUDT()
44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump()
49 Session, PdbSymbolIdField::UnmodifiedType, ShowIdFields, in dump()
94 return Session.getSymbolCache().findSymbolByTypeIndex(Class->VTableShape); in getVirtualTableShapeId()
H A DNativeEnumGlobals.cpp25 : Index(0), Session(PDBSession) { in NativeEnumGlobals()
26 GlobalsStream &GS = cantFail(Session.getPDBFile().getPDBGlobalsStream()); in NativeEnumGlobals()
27 SymbolStream &SS = cantFail(Session.getPDBFile().getPDBSymbolStream()); in NativeEnumGlobals()
46 Session.getSymbolCache().getOrCreateGlobalSymbolByOffset(MatchOffsets[N]); in getChildAtIndex()
47 return Session.getSymbolCache().getSymbolById(Id); in getChildAtIndex()
H A DNativeLineNumber.cpp14 NativeLineNumber::NativeLineNumber(const NativeSession &Session, in NativeLineNumber() argument
19 : Session(Session), Line(Line), ColumnNumber(ColumnNumber), in NativeLineNumber()
38 return Session.getRVAFromSectOffset(Section, Offset); in getRelativeVirtualAddress()
42 return Session.getVAFromSectOffset(Section, Offset); in getVirtualAddress()
H A DNativeSourceFile.cpp15 NativeSourceFile::NativeSourceFile(NativeSession &Session, uint32_t FileId, in NativeSourceFile() argument
17 : Session(Session), FileId(FileId), Checksum(Checksum) {} in NativeSourceFile()
20 auto ST = Session.getPDBFile().getStringTable(); in getFileName()
H A DNativeTypeTypedef.cpp7 NativeTypeTypedef::NativeTypeTypedef(NativeSession &Session, SymIndexId Id, in NativeTypeTypedef() argument
9 : NativeRawSymbol(Session, PDB_SymType::Typedef, Id), in NativeTypeTypedef()
19 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump()
28 return Session.getSymbolCache().findSymbolByTypeIndex(Record.Type); in getTypeId()
H A DNativePublicSymbol.cpp19 NativePublicSymbol::NativePublicSymbol(NativeSession &Session, SymIndexId Id, in NativePublicSymbol() argument
21 : NativeRawSymbol(Session, PDB_SymType::PublicSymbol, Id), Sym(Sym) {} in NativePublicSymbol()
43 return Session.getRVAFromSectOffset(Sym.Segment, Sym.Offset); in getRelativeVirtualAddress()
47 return Session.getVAFromSectOffset(Sym.Segment, Sym.Offset); in getVirtualAddress()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsession.h33 typedef struct Session Session; typedef
34 struct Session { struct
77 void session_destroy_all(struct ssh *, void (*)(Session *)); argument
78 void session_pty_cleanup2(Session *);
80 Session *session_new(void);
81 Session *session_by_tty(char *);
82 void session_close(struct ssh *, Session *);
H A Dsession.c107 Session *session_new(void);
108 void session_set_fds(struct ssh *, Session *, int, int, int, int, int);
109 void session_pty_cleanup(Session *);
110 void session_proctitle(Session *);
111 int session_setup_x11fwd(struct ssh *, Session *);
112 int do_exec_pty(struct ssh *, Session *, const char *);
113 int do_exec_no_pty(struct ssh *, Session *, const char *);
114 int do_exec(struct ssh *, Session *, const char *);
115 void do_login(struct ssh *, Session *, const char *);
116 __dead void do_child(struct ssh *, Session *, const char *);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp25 : DIContext(CK_PDB), Session(std::move(PDBSession)) { in PDBContext()
28 Session->setLoadAddress(ImageBase.get()); in PDBContext()
40 Session->findSymbolByAddress(Address.Address, PDB_SymType::None); in getLineInfoForAddress()
49 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Length); in getLineInfoForAddress()
55 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress()
73 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Size); in getLineInfoForAddressRange()
93 Session->findSymbolByAddress(Address.Address, PDB_SymType::Function); in getInliningInfoForAddress()
116 auto SourceFile = Session->getSourceFileById(Line->getSourceFileId()); in getInliningInfoForAddress()
140 Session->findSymbolByAddress(Address, PDB_SymType::Function); in getFunctionName()
148 Session->findSymbolByAddress(Address, PDB_SymType::PublicSymbol); in getFunctionName()
H A DPDB.cpp24 std::unique_ptr<IPDBSession> &Session) { in loadDataForPDB() argument
27 return NativeSession::createFromPdbPath(Path, Session); in loadDataForPDB()
30 return DIASession::createFromPdb(Path, Session); in loadDataForPDB()
37 std::unique_ptr<IPDBSession> &Session) { in loadDataForEXE() argument
43 return NativeSession::createFromPdbPath(PdbPath.get(), Session); in loadDataForEXE()
47 return DIASession::createFromExe(Path, Session); in loadDataForEXE()
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 __anonb5b6ed190111::FunctionArgEnumerator
66 return std::make_unique<FunctionArgEnumerator>(Session, *this); in getArguments()
H A DPDBSymbolFunc.cpp33 : Session(PDBSession), Func(PDBFunc) { in FunctionArgEnumerator()
57 return Session.getConcreteSymbolById<PDBSymbolData>( in getChildAtIndex()
66 return Session.getConcreteSymbolById<PDBSymbolData>(Result.getSymIndexId()); in getNext()
73 const IPDBSession &Session; member in __anon4e78c0fa0111::FunctionArgEnumerator
82 return std::make_unique<FunctionArgEnumerator>(Session, *this); in getArguments()
100 return Session.findLineNumbersByAddress(RawSymbol->getVirtualAddress(), in getLineNumbers()
H A DPDBSymbolData.cpp25 return Session.findLineNumbersByRVA(RVA, Len); in getLineNumbers()
28 return Session.findLineNumbersBySectOffset( in getLineNumbers()
44 Session.addressForRVA(RVA, DataSection, DataOffset); in getCompilandId()
48 if (auto SecContribs = Session.getSectionContribs()) { in getCompilandId()
58 while (auto LexParent = Session.getSymbolById(LexParentId)) { in getCompilandId()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.h34 struct Session;
41 LLVMJITLinkObjectLinkingLayer(Session &S,
48 Session &S;
111 struct Session { struct
118 ~Session(); argument
120 static Expected<std::unique_ptr<Session>> Create(Triple TT);
159 Session(std::unique_ptr<orc::TargetProcessControl> TPC, Error &Err); argument
163 Error registerELFGraphInfo(Session &S, jitlink::LinkGraph &G);
166 Error registerMachOGraphInfo(Session &S, jitlink::LinkGraph &G);
H A Dllvm-jitlink.cpp173 operator<<(raw_ostream &OS, const Session::MemoryRegionInfo &MRI) { in operator <<()
182 operator<<(raw_ostream &OS, const Session::SymbolInfoMap &SIM) { in operator <<()
190 operator<<(raw_ostream &OS, const Session::FileInfo &FI) { in operator <<()
201 operator<<(raw_ostream &OS, const Session::FileInfoMap &FIM) { in operator <<()
207 static Error applyHarnessPromotions(Session &S, LinkGraph &G) { in applyHarnessPromotions()
509 Session &S, JITLinkMemoryManager &MemMgr) in LLVMJITLinkObjectLinkingLayer()
793 Expected<std::unique_ptr<Session>> Session::Create(Triple TT) { in Create()
817 std::unique_ptr<Session> S(new Session(std::move(TPC), Err)); in Create()
823 Session::~Session() { in ~Session()
830 Session::Session(std::unique_ptr<TargetProcessControl> TPC, Error &Err) in Session() function in llvm::Session
[all …]

123456