Home
last modified time | relevance | path

Searched refs:pdb (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbIndex.h25 namespace pdb {
50 llvm::pdb::PDBFile *m_file = nullptr;
57 llvm::pdb::DbiStream *m_dbi = nullptr;
64 llvm::pdb::TpiStream *m_tpi = nullptr;
65 llvm::pdb::TpiStream *m_ipi = nullptr;
70 llvm::pdb::InfoStream *m_info = nullptr;
77 llvm::pdb::PublicsStream *m_publics = nullptr;
84 llvm::pdb::GlobalsStream *m_globals = nullptr;
92 llvm::pdb::SymbolStream *m_symrecords = nullptr;
112 static llvm::Expected<std::unique_ptr<PdbIndex>> create(llvm::pdb::PDBFile *);
[all …]
DPdbAstBuilder.cpp32 using namespace llvm::pdb;
170 SymbolFileNativePDB *pdb = static_cast<SymbolFileNativePDB *>( in CreateDeclInfoForType() local
196 std::optional<TypeIndex> parent_index = pdb->GetParentType(ti); in CreateDeclInfoForType()
242 SymbolFileNativePDB *pdb = static_cast<SymbolFileNativePDB *>( in GetOrCreateSymbolForId() local
244 PdbIndex &index = pdb->GetIndex(); in GetOrCreateSymbolForId()
323 SymbolFileNativePDB *pdb = static_cast<SymbolFileNativePDB *>( in CreateDeclInfoForUndecoratedName() local
325 PdbIndex &index = pdb->GetIndex(); in CreateDeclInfoForUndecoratedName()
361 SymbolFileNativePDB *pdb = static_cast<SymbolFileNativePDB *>( in GetParentDeclContext() local
363 PdbIndex& index = pdb->GetIndex(); in GetParentDeclContext()
367 pdb->FindSymbolScope(uid.asCompilandSym()); in GetParentDeclContext()
[all …]
DPdbUtil.h27 namespace pdb {
109 llvm::pdb::PDB_SymType CVSymToPDBSym(llvm::codeview::SymbolKind kind);
110 llvm::pdb::PDB_SymType CVTypeToPDBType(llvm::codeview::TypeLeafKind kind);
132 bool IsForwardRefUdt(const PdbTypeSymId &id, llvm::pdb::TpiStream &tpi);
133 bool IsTagRecord(const PdbTypeSymId &id, llvm::pdb::TpiStream &tpi);
150 PdbTypeSymId GetBestPossibleDecl(PdbTypeSymId id, llvm::pdb::TpiStream &tpi);
152 size_t GetSizeOfType(PdbTypeSymId id, llvm::pdb::TpiStream &tpi);
DCompileUnitIndex.cpp32 using namespace llvm::pdb;
128 PdbCompilandId id, llvm::pdb::ModuleDebugStreamRef debug_stream, in CompilandIndexItem()
129 llvm::pdb::DbiModuleDescriptor descriptor) in CompilandIndexItem()
141 llvm::pdb::DbiModuleDescriptor descriptor = modules.getModuleDescriptor(modi); in GetOrCreateCompiland()
144 m_index.pdb().createIndexedStream(stream); in GetOrCreateCompiland()
150 llvm::pdb::ModuleDebugStreamRef debug_stream(descriptor, nullptr); in GetOrCreateCompiland()
155 llvm::pdb::ModuleDebugStreamRef debug_stream(descriptor, in GetOrCreateCompiland()
166 PDBStringTable &strings = cantFail(m_index.pdb().getStringTable()); in GetOrCreateCompiland()
DCompileUnitIndex.h41 llvm::pdb::ModuleDebugStreamRef debug_stream,
42 llvm::pdb::DbiModuleDescriptor descriptor);
48 llvm::pdb::ModuleDebugStreamRef m_debug_stream;
51 llvm::pdb::DbiModuleDescriptor m_module_descriptor;
/openbsd/src/gnu/llvm/llvm/tools/llvm-pdbutil/
DPdbYaml.cpp21 using namespace llvm::pdb;
22 using namespace llvm::pdb::yaml;
25 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::NamedStreamMapping)
26 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::PdbDbiModuleInfo)
27 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::StreamBlockList)
28 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::pdb::PdbRaw_FeatureSig)
33 template <> struct ScalarEnumerationTraits<llvm::pdb::PDB_Machine> {
34 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { in enumeration()
57 template <> struct ScalarEnumerationTraits<llvm::pdb::PdbRaw_DbiVer> {
58 static void enumeration(IO &io, llvm::pdb::PdbRaw_DbiVer &Value) { in enumeration()
[all …]
DExplainOutputStyle.cpp32 using namespace llvm::pdb;
94 return FileOffset / File.pdb().getBlockSize(); in pdbBlockIndex()
98 uint64_t BlockStart = pdbBlockIndex() * File.pdb().getBlockSize(); in pdbBlockOffset()
108 return ((pdbBlockIndex() - 1) % File.pdb().getBlockSize() == 0); in isPdbFpm1()
111 return ((pdbBlockIndex() - 2) % File.pdb().getBlockSize() == 0); in isPdbFpm2()
119 return pdbBlockIndex() == File.pdb().getBlockMapIndex(); in isPdbBlockMapBlock()
123 const auto &Layout = File.pdb().getMsfLayout(); in isPdbStreamDirectoryBlock()
128 const auto &Layout = File.pdb().getMsfLayout(); in getPdbBlockStreamIndex()
138 if (FileOffset >= File.pdb().getFileSize()) { in explainPdbBlockStatus()
140 FileOffset, File.pdb().getFileSize()); in explainPdbBlockStatus()
[all …]
DPdbYaml.h30 namespace pdb {
114 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbObject)
115 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::MSFHeaders)
117 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::StreamBlockList)
118 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbInfoStream)
119 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbDbiStream)
120 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbTpiStream)
121 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbPublicsStream)
122 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::NamedStreamMapping)
123 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbModiStream)
[all …]
DTypeReferenceTracker.cpp20 using namespace llvm::pdb;
48 Tpi = &cantFail(File.pdb().getPDBTpiStream()); in TypeReferenceTracker()
79 if (File.isPdb() && File.pdb().hasPDBGlobalsStream()) { in mark()
80 SymbolStream &SymStream = cantFail(File.pdb().getPDBSymbolStream()); in mark()
81 GlobalsStream &GS = cantFail(File.pdb().getPDBGlobalsStream()); in mark()
DMinimalTypeDumper.h20 namespace pdb {
32 pdb::TpiStream *Stream) in MinimalTypeDumpVisitor()
61 pdb::TypeReferenceTracker *RefTracker = nullptr;
65 pdb::TpiStream *Stream = nullptr;
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
DFormatters.h25 template <> struct format_provider<pdb::PdbRaw_ImplVer> {
26 static void format(const pdb::PdbRaw_ImplVer &V, llvm::raw_ostream &Stream,
29 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC110, "VC110")
30 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC140, "VC140")
31 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC2, "VC2")
32 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC4, "VC4")
33 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC41, "VC41")
34 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC50, "VC50")
35 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70, "VC70")
36 FORMAT_CASE(pdb::PdbRaw_ImplVer::PdbImplVC70Dep, "VC70Dep")
[all …]
DDbiModuleDescriptor.h20 namespace pdb {
58 template <> struct VarStreamArrayExtractor<pdb::DbiModuleDescriptor> {
60 pdb::DbiModuleDescriptor &Info) {
61 if (auto EC = pdb::DbiModuleDescriptor::initialize(Stream, Info))
DRawError.h15 namespace pdb {
36 struct is_error_code_enum<llvm::pdb::raw_error_code> : std::true_type {};
40 namespace pdb {
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
DPDBASTParser.h31 namespace pdb {
48 lldb::TypeSP CreateLLDBTypeFromPDBType(const llvm::pdb::PDBSymbol &type);
51 clang::Decl *GetDeclForSymbol(const llvm::pdb::PDBSymbol &symbol);
54 GetDeclContextForSymbol(const llvm::pdb::PDBSymbol &symbol);
56 GetDeclContextContainingSymbol(const llvm::pdb::PDBSymbol &symbol);
76 typedef llvm::pdb::ConcreteSymbolEnumerator<llvm::pdb::PDBSymbolData>
78 typedef llvm::pdb::ConcreteSymbolEnumerator<llvm::pdb::PDBSymbolTypeBaseClass>
80 typedef llvm::pdb::ConcreteSymbolEnumerator<llvm::pdb::PDBSymbolFunc>
84 const llvm::pdb::PDBSymbolData &data);
87 llvm::pdb::PDBSymbolTypeUDT &udt);
[all …]
DSymbolFilePDB.h166 llvm::pdb::IPDBSession &GetPDBSession();
168 const llvm::pdb::IPDBSession &GetPDBSession() const;
191 const llvm::pdb::PDBSymbolCompiland &pdb_compiland,
198 std::string GetMangledForPDBData(const llvm::pdb::PDBSymbolData &pdb_data);
202 const llvm::pdb::PDBSymbolData &pdb_data);
205 const llvm::pdb::PDBSymbol &pdb_data,
213 void GetTypesForPDBSymbol(const llvm::pdb::PDBSymbol &pdb_symbol,
218 ParseCompileUnitFunctionForPDBFunc(const llvm::pdb::PDBSymbolFunc &pdb_func,
221 void GetCompileUnitIndex(const llvm::pdb::PDBSymbolCompiland &pdb_compiland,
226 std::unique_ptr<llvm::pdb::PDBSymbolCompiland>
[all …]
DSymbolFilePDB.cpp66 using namespace llvm::pdb;
234 const llvm::pdb::PDBSymbolCompiland &pdb_compiland, uint32_t &index) { in GetCompileUnitIndex()
251 std::unique_ptr<llvm::pdb::PDBSymbolCompiland>
395 uint64_t func_file_vm_addr, const llvm::pdb::PDBSymbol *pdb_symbol, in ParseFunctionBlocksForPDBSymbol()
578 PDBASTParser *pdb = clang_type_system->GetPDBParser(); in ResolveTypeUID() local
579 if (!pdb) in ResolveTypeUID()
586 lldb::TypeSP result = pdb->CreateLLDBTypeFromPDBType(*pdb_type); in ResolveTypeUID()
616 PDBASTParser *pdb = clang_ast_ctx->GetPDBParser(); in CompleteType() local
617 if (!pdb) in CompleteType()
620 return pdb->CompleteTypeFromPDB(compiler_type); in CompleteType()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp13 using namespace llvm::pdb;
23 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
43 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
71 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
103 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_DataKind &Data) { in operator <<()
119 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
168 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_LocType &Loc) { in operator <<()
188 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
202 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<()
213 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) { in operator <<()
[all …]
DPDB.cpp20 using namespace llvm::pdb;
22 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, in loadDataForPDB()
35 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, in loadDataForEXE()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
DInputFile.cpp32 using namespace llvm::pdb;
38 llvm::pdb::getModuleDebugStream(PDBFile &File, StringRef &ModuleName, in getModuleDebugStream()
68 Expected<ModuleDebugStreamRef> llvm::pdb::getModuleDebugStream(PDBFile &File, in getModuleDebugStream()
197 auto StringTable = File->pdb().getStringTable(); in initializeForPdb()
205 auto MDS = getModuleDebugStream(File->pdb(), Name, Modi); in initializeForPdb()
321 if (Magic == file_magic::pdb) { in open()
348 PDBFile &InputFile::pdb() { in pdb() function in InputFile
353 const PDBFile &InputFile::pdb() const { in pdb() function in InputFile
380 return pdb().getFilePath(); in getFilePath()
389 return pdb().hasPDBTpiStream(); in hasTypes()
[all …]
DFormatUtil.cpp20 using namespace llvm::pdb;
22 std::string llvm::pdb::typesetItemList(ArrayRef<std::string> Opts, in typesetItemList()
40 std::string llvm::pdb::typesetStringList(uint32_t IndentLevel, in typesetStringList()
50 std::string llvm::pdb::formatChunkKind(DebugSubsectionKind Kind, in formatChunkKind()
104 std::string llvm::pdb::formatSymbolKind(SymbolKind K) { in formatSymbolKind()
115 std::string llvm::pdb::formatTypeLeafKind(TypeLeafKind K) { in formatTypeLeafKind()
128 std::string llvm::pdb::formatSegmentOffset(uint16_t Segment, uint32_t Offset) { in formatSegmentOffset()
144 std::string llvm::pdb::formatSectionCharacteristics(uint32_t IndentLevel, in formatSectionCharacteristics()
DHash.cpp20 uint32_t pdb::hashStringV1(StringRef Str) { in hashStringV1()
56 uint32_t pdb::hashStringV2(StringRef Str) { in hashStringV2()
80 uint32_t pdb::hashBufferV8(ArrayRef<uint8_t> Buf) { in hashBufferV8()
/openbsd/src/gnu/llvm/lld/COFF/
DPDB.cpp68 using llvm::pdb::StringTableFixup;
151 pdb::DbiModuleDescriptorBuilder &mod);
153 pdb::PDBFileBuilder builder;
284 static void addTypeInfo(pdb::TpiStreamBuilder &tpiBuilder, in addTypeInfo()
287 tpiBuilder.setVersionHeader(pdb::PdbTpiV80); in addTypeInfo()
291 auto hash = pdb::hashTypeRecord(type); in addTypeInfo()
299 pdb::PDBFileBuilder &builder) { in addGHashTypeInfo()
301 builder.getTpiBuilder().setVersionHeader(pdb::PdbTpiV80); in addGHashTypeInfo()
302 builder.getIpiBuilder().setVersionHeader(pdb::PdbTpiV80); in addGHashTypeInfo()
494 static void addGlobalSymbol(pdb::GSIStreamBuilder &builder, uint16_t modIndex, in addGlobalSymbol()
[all …]
DDebugTypes.cpp53 pdb::PDBFile &file = f->session->getPDBFile(); in TypeServerSource()
362 pdb::PDBFile &pdbFile = pdbInputFile->session->getPDBFile(); in mergeDebugT()
363 Expected<pdb::TpiStream &> expectedTpi = pdbFile.getPDBTpiStream(); in mergeDebugT()
366 pdb::TpiStream *maybeIpi = nullptr; in mergeDebugT()
368 Expected<pdb::TpiStream &> expectedIpi = pdbFile.getPDBIpiStream(); in mergeDebugT()
422 PDBInputFile *pdb = PDBInputFile::findFromRecordPath(ctx, tsPath, file); in getTypeServerSource() local
423 if (!pdb) in getTypeServerSource()
427 if (pdb->loadErrorStr) in getTypeServerSource()
429 tsPath, make_error<StringError>(*pdb->loadErrorStr, in getTypeServerSource()
432 tsSrc = (TypeServerSource *)pdb->debugTypesObj; in getTypeServerSource()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/DIA/
DDIAError.h16 namespace pdb {
30 struct is_error_code_enum<llvm::pdb::dia_error_code> : std::true_type {};
34 namespace pdb {
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/
DGenericError.h15 namespace pdb {
30 struct is_error_code_enum<llvm::pdb::pdb_error_code> : std::true_type {};
34 namespace pdb {

12345678910>>...15