/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCTargetDesc.cpp | 66 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 69 {codeview::RegisterId::ARM64_W0, AArch64::W0}, in initLLVMToCVRegMapping() 70 {codeview::RegisterId::ARM64_W1, AArch64::W1}, in initLLVMToCVRegMapping() 71 {codeview::RegisterId::ARM64_W2, AArch64::W2}, in initLLVMToCVRegMapping() 72 {codeview::RegisterId::ARM64_W3, AArch64::W3}, in initLLVMToCVRegMapping() 73 {codeview::RegisterId::ARM64_W4, AArch64::W4}, in initLLVMToCVRegMapping() 74 {codeview::RegisterId::ARM64_W5, AArch64::W5}, in initLLVMToCVRegMapping() 75 {codeview::RegisterId::ARM64_W6, AArch64::W6}, in initLLVMToCVRegMapping() 76 {codeview::RegisterId::ARM64_W7, AArch64::W7}, in initLLVMToCVRegMapping() 77 {codeview::RegisterId::ARM64_W8, AArch64::W8}, in initLLVMToCVRegMapping() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCTargetDesc.cpp | 84 codeview::RegisterId CVReg; in initLLVMToSEHAndCVRegMapping() 87 {codeview::RegisterId::AL, X86::AL}, in initLLVMToSEHAndCVRegMapping() 88 {codeview::RegisterId::CL, X86::CL}, in initLLVMToSEHAndCVRegMapping() 89 {codeview::RegisterId::DL, X86::DL}, in initLLVMToSEHAndCVRegMapping() 90 {codeview::RegisterId::BL, X86::BL}, in initLLVMToSEHAndCVRegMapping() 91 {codeview::RegisterId::AH, X86::AH}, in initLLVMToSEHAndCVRegMapping() 92 {codeview::RegisterId::CH, X86::CH}, in initLLVMToSEHAndCVRegMapping() 93 {codeview::RegisterId::DH, X86::DH}, in initLLVMToSEHAndCVRegMapping() 94 {codeview::RegisterId::BH, X86::BH}, in initLLVMToSEHAndCVRegMapping() 95 {codeview::RegisterId::AX, X86::AX}, in initLLVMToSEHAndCVRegMapping() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCTargetDesc.cpp | 220 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 223 {codeview::RegisterId::ARM_R0, ARM::R0}, in initLLVMToCVRegMapping() 224 {codeview::RegisterId::ARM_R1, ARM::R1}, in initLLVMToCVRegMapping() 225 {codeview::RegisterId::ARM_R2, ARM::R2}, in initLLVMToCVRegMapping() 226 {codeview::RegisterId::ARM_R3, ARM::R3}, in initLLVMToCVRegMapping() 227 {codeview::RegisterId::ARM_R4, ARM::R4}, in initLLVMToCVRegMapping() 228 {codeview::RegisterId::ARM_R5, ARM::R5}, in initLLVMToCVRegMapping() 229 {codeview::RegisterId::ARM_R6, ARM::R6}, in initLLVMToCVRegMapping() 230 {codeview::RegisterId::ARM_R7, ARM::R7}, in initLLVMToCVRegMapping() 231 {codeview::RegisterId::ARM_R8, ARM::R8}, in initLLVMToCVRegMapping() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.h | 55 codeview::GlobalTypeTableBuilder TypeTable; 61 codeview::CPUType TheCPU; 173 codeview::EncodedFramePtrReg EncodedLocalFramePtrReg = 174 codeview::EncodedFramePtrReg::None; 178 codeview::EncodedFramePtrReg EncodedParamFramePtrReg = 179 codeview::EncodedFramePtrReg::None; 181 codeview::FrameProcedureOptions FrameProcOpts; 228 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP); 250 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex> 255 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices; [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
H A D | MinimalSymbolDumper.h | 15 namespace codeview { 23 class MinimalSymbolDumper : public codeview::SymbolVisitorCallbacks { 26 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper() 27 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() 31 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper() 32 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() 36 Error visitSymbolBegin(codeview::CVSymbol &Record) override; 37 Error visitSymbolBegin(codeview::CVSymbol &Record, uint32_t Offset) override; 38 Error visitSymbolEnd(codeview::CVSymbol &Record) override; 43 virtual Error visitKnownRecord(codeview::CVSymbol &CVR, \ [all …]
|
H A D | MinimalTypeDumper.h | 16 namespace codeview { 25 class MinimalTypeDumpVisitor : public codeview::TypeVisitorCallbacks { 28 bool Hashes, codeview::LazyRandomTypeCollection &Types, in MinimalTypeDumpVisitor() 37 Error visitTypeBegin(codeview::CVType &Record, 38 codeview::TypeIndex Index) override; 39 Error visitTypeEnd(codeview::CVType &Record) override; 40 Error visitMemberBegin(codeview::CVMemberRecord &Record) override; 41 Error visitMemberEnd(codeview::CVMemberRecord &Record) override; 44 Error visitKnownRecord(codeview::CVType &CVR, \ 45 codeview::Name##Record &Record) override; [all …]
|
H A D | TypeReferenceTracker.h | 37 bool isTypeReferenced(codeview::TypeIndex TI) { in isTypeReferenced() 43 void addTypeRefsFromSymbol(const codeview::CVSymbol &Sym); 47 ArrayRef<codeview::TiReference> Refs); 52 void addOneTypeRef(codeview::TiRefKind RefKind, codeview::TypeIndex RefTI); 55 codeview::LazyRandomTypeCollection &Types; 56 codeview::LazyRandomTypeCollection *Ids = nullptr; 60 SmallVector<std::pair<codeview::TiRefKind, codeview::TypeIndex>, 10>
|
H A D | InputFile.h | 24 namespace codeview { 48 using TypeCollectionPtr = std::unique_ptr<codeview::LazyRandomTypeCollection>; 54 codeview::LazyRandomTypeCollection & 76 codeview::LazyRandomTypeCollection &types(); 77 codeview::LazyRandomTypeCollection &ids(); 104 codeview::DebugSubsectionArray getDebugSubsections() const { in getDebugSubsections() 117 void updateDebugS(const codeview::DebugSubsectionArray &SS); 122 codeview::DebugSubsectionArray Subsections; 124 codeview::StringsAndChecksumsRef SC; 125 StringMap<codeview::FileChecksumEntry> ChecksumsByFile;
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeHashing.h | 24 namespace codeview { 180 template <> struct DenseMapInfo<codeview::LocallyHashedType> { 181 static codeview::LocallyHashedType Empty; 182 static codeview::LocallyHashedType Tombstone; 184 static codeview::LocallyHashedType getEmptyKey() { return Empty; } 186 static codeview::LocallyHashedType getTombstoneKey() { return Tombstone; } 188 static unsigned getHashValue(codeview::LocallyHashedType Val) { 192 static bool isEqual(codeview::LocallyHashedType LHS, 193 codeview::LocallyHashedType RHS) { 200 template <> struct DenseMapInfo<codeview::GloballyHashedType> { [all …]
|
H A D | Formatters.h | 23 namespace codeview { 49 template <> struct format_provider<codeview::TypeIndex> { 51 static void format(const codeview::TypeIndex &V, raw_ostream &Stream, 58 Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")"; 63 template <> struct format_provider<codeview::GUID> { 64 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream,
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | TpiStream.h | 24 namespace codeview { 52 FixedStreamArray<codeview::TypeIndexOffset> getTypeIndexOffsets() const; 55 codeview::CVTypeRange types(bool *HadError) const; 56 const codeview::CVTypeArray &typeArray() const { return TypeRecords; } in typeArray() 58 codeview::LazyRandomTypeCollection &typeCollection() { return *Types; } in typeCollection() 60 Expected<codeview::TypeIndex> 61 findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const; 63 std::vector<codeview::TypeIndex> findRecordsByName(StringRef Name) const; 65 codeview::CVType getType(codeview::TypeIndex Index); 79 std::unique_ptr<codeview::LazyRandomTypeCollection> Types; [all …]
|
H A D | SymbolCache.h | 44 mutable DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId; 49 mutable DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId> 77 codeview::LineInfo Line; 93 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() 97 codeview::TypeDeserializer::deserializeAs<CVRecordT>(CVT, Record)) { in createSymbolForType() 106 SymIndexId createSymbolForModifiedType(codeview::TypeIndex ModifierTI, 107 codeview::CVType CVT) const; 109 SymIndexId createSimpleType(codeview::TypeIndex TI, 110 codeview::ModifierOptions Mods) const; 140 createTypeEnumerator(codeview::TypeLeafKind Kind); [all …]
|
H A D | NativeTypeUDT.h | 23 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, 24 codeview::ClassRecord Class); 26 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, 27 codeview::UnionRecord Union); 31 codeview::ModifierRecord Modifier); 61 codeview::TypeIndex Index; 63 Optional<codeview::ClassRecord> Class; 64 Optional<codeview::UnionRecord> Union; 66 codeview::TagRecord *Tag = nullptr; 67 Optional<codeview::ModifierRecord> Modifiers;
|
H A D | TpiHashing.h | 18 Expected<uint32_t> hashTypeRecord(const llvm::codeview::CVType &Type); 21 explicit TagRecordHash(codeview::ClassRecord CR, uint32_t Full, in TagRecordHash() 27 explicit TagRecordHash(codeview::EnumRecord ER, uint32_t Full, in TagRecordHash() 33 explicit TagRecordHash(codeview::UnionRecord UR, uint32_t Full, in TagRecordHash() 42 codeview::TagRecord &getRecord() { in getRecord() 56 codeview::ClassRecord Class; 57 codeview::EnumRecord Enum; 58 codeview::UnionRecord Union; 66 Expected<TagRecordHash> hashTagRecord(const codeview::CVType &Type);
|
H A D | NativeTypeFunctionSig.h | 30 codeview::TypeIndex TI, codeview::ProcedureRecord Proc); 33 codeview::TypeIndex TI, 34 codeview::MemberFunctionRecord MemberFunc); 57 void initializeArgList(codeview::TypeIndex ArgListTI); 60 codeview::MemberFunctionRecord MemberFunc; 61 codeview::ProcedureRecord Proc; 65 codeview::TypeIndex Index; 66 codeview::ArgListRecord ArgList;
|
H A D | ModuleDebugStream.h | 29 using DebugSubsectionIterator = codeview::DebugSubsectionArray::Iterator; 42 iterator_range<codeview::CVSymbolArray::Iterator> 45 const codeview::CVSymbolArray &getSymbolArray() const { return SymbolArray; } in getSymbolArray() 46 const codeview::CVSymbolArray 56 codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const; 59 codeview::DebugSubsectionArray getSubsectionsArray() const { in getSubsectionsArray() 67 Expected<codeview::DebugChecksumsSubsectionRef> 79 codeview::CVSymbolArray SymbolArray; 86 codeview::DebugSubsectionArray Subsections;
|
H A D | GSIStreamBuilder.h | 26 template <> struct BinaryItemTraits<codeview::CVSymbol> { 27 static size_t length(const codeview::CVSymbol &Item) { 30 static ArrayRef<uint8_t> bytes(const codeview::CVSymbol &Item) { 64 void addGlobalSymbol(const codeview::ProcRefSym &Sym); 65 void addGlobalSymbol(const codeview::DataSym &Sym); 66 void addGlobalSymbol(const codeview::ConstantSym &Sym); 70 void addGlobalSymbol(const codeview::CVSymbol &Sym); 96 std::vector<codeview::CVSymbol> Globals; 100 llvm::DenseSet<codeview::CVSymbol, SymbolDenseMapInfo> GlobalsSeen; 128 void setFlags(codeview::PublicSymFlags F) {
|
H A D | NativeTypeEnum.h | 25 NativeTypeEnum(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, 26 codeview::EnumRecord Record); 30 codeview::ModifierRecord Modifier); 62 const codeview::EnumRecord &getEnumRecord() const { return *Record; } in getEnumRecord() 65 codeview::TypeIndex Index; 66 Optional<codeview::EnumRecord> Record; 68 Optional<codeview::ModifierRecord> Modifiers;
|
H A D | NativeTypePointer.h | 25 codeview::TypeIndex TI); 29 codeview::TypeIndex TI, codeview::PointerRecord PR); 53 codeview::TypeIndex TI; 54 Optional<codeview::PointerRecord> Record;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeExeSymbol.cpp | 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() 51 {codeview::LF_STRUCTURE, codeview::LF_CLASS, codeview::LF_UNION, in findChildren() 52 codeview::LF_INTERFACE}); in findChildren() 54 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_VTSHAPE); in findChildren() 57 {codeview::LF_PROCEDURE, codeview::LF_MFUNCTION}); in findChildren() 59 return Session.getSymbolCache().createGlobalsEnumerator(codeview::S_UDT); in findChildren() 79 codeview::GUID NativeExeSymbol::getGuid() const { in getGuid() 84 return codeview::GUID{{0}}; in getGuid()
|
H A D | SymbolCache.cpp | 38 using namespace llvm::codeview; 44 codeview::SimpleTypeKind Kind; 48 {codeview::SimpleTypeKind::None, PDB_BuiltinType::None, 0}, 49 {codeview::SimpleTypeKind::Void, PDB_BuiltinType::Void, 0}, 50 {codeview::SimpleTypeKind::HResult, PDB_BuiltinType::HResult, 4}, 51 {codeview::SimpleTypeKind::Int16Short, PDB_BuiltinType::Int, 2}, 52 {codeview::SimpleTypeKind::UInt16Short, PDB_BuiltinType::UInt, 2}, 53 {codeview::SimpleTypeKind::Int32, PDB_BuiltinType::Int, 4}, 54 {codeview::SimpleTypeKind::UInt32, PDB_BuiltinType::UInt, 4}, 55 {codeview::SimpleTypeKind::Int32Long, PDB_BuiltinType::Int, 4}, [all …]
|
H A D | NativeTypeEnum.cpp | 26 using namespace llvm::codeview; 122 codeview::ModifierRecord Modifier) in NativeTypeEnum() 184 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() 259 codeview::ClassOptions::HasConstructorOrDestructor); in hasConstructor() 267 codeview::ClassOptions::HasOverloadedAssignmentOperator); in hasAssignmentOperator() 275 codeview::ClassOptions::ContainsNestedClass); in hasNestedTypes() 282 return bool(Record->getOptions() & codeview::ClassOptions::Intrinsic); in isIntrinsic() 290 codeview::ClassOptions::HasConversionOperator); in hasCastOperator() 315 return bool(Record->getOptions() & codeview::ClassOptions::Nested); in isNested() 323 codeview::ClassOptions::HasOverloadedOperator); in hasOverloadedOperator() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.h | 30 namespace codeview { 86 codeview::FileChecksumKind Kind; 93 codeview::LineFlags Flags; 112 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC, 113 const codeview::DebugSubsectionRecord &SS); 120 Expected<std::vector<std::shared_ptr<codeview::DebugSubsection>>> 123 const codeview::StringsAndChecksums &SC); 126 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC); 129 codeview::StringsAndChecksums &SC);
|
H A D | CodeViewYAMLTypes.h | 28 namespace codeview { 48 codeview::CVType 49 toCodeViewRecord(codeview::AppendingTypeTableBuilder &Serializer) const; 50 static Expected<LeafRecord> fromCodeViewRecord(codeview::CVType Type); 62 LLVM_YAML_DECLARE_SCALAR_TRAITS(codeview::GUID, QuotingType::Single)
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
H A D | RecordSerialization.cpp | 22 using namespace llvm::codeview; 27 StringRef llvm::codeview::getBytesAsCharacters(ArrayRef<uint8_t> LeafData) { in getBytesAsCharacters() 32 StringRef llvm::codeview::getBytesAsCString(ArrayRef<uint8_t> LeafData) { in getBytesAsCString() 36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() 104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume() 114 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric() 126 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume() 130 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { in consume() 139 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume() 143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume() [all …]
|