| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MCTargetDesc.cpp | 69 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 72 {codeview::RegisterId::ARM64_W0, AArch64::W0}, in initLLVMToCVRegMapping() 73 {codeview::RegisterId::ARM64_W1, AArch64::W1}, in initLLVMToCVRegMapping() 74 {codeview::RegisterId::ARM64_W2, AArch64::W2}, in initLLVMToCVRegMapping() 75 {codeview::RegisterId::ARM64_W3, AArch64::W3}, in initLLVMToCVRegMapping() 76 {codeview::RegisterId::ARM64_W4, AArch64::W4}, in initLLVMToCVRegMapping() 77 {codeview::RegisterId::ARM64_W5, AArch64::W5}, in initLLVMToCVRegMapping() 78 {codeview::RegisterId::ARM64_W6, AArch64::W6}, in initLLVMToCVRegMapping() 79 {codeview::RegisterId::ARM64_W7, AArch64::W7}, in initLLVMToCVRegMapping() 80 {codeview::RegisterId::ARM64_W8, AArch64::W8}, in initLLVMToCVRegMapping() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCTargetDesc.cpp | 177 codeview::RegisterId CVReg; in initLLVMToSEHAndCVRegMapping() 180 {codeview::RegisterId::AL, X86::AL}, in initLLVMToSEHAndCVRegMapping() 181 {codeview::RegisterId::CL, X86::CL}, in initLLVMToSEHAndCVRegMapping() 182 {codeview::RegisterId::DL, X86::DL}, in initLLVMToSEHAndCVRegMapping() 183 {codeview::RegisterId::BL, X86::BL}, in initLLVMToSEHAndCVRegMapping() 184 {codeview::RegisterId::AH, X86::AH}, in initLLVMToSEHAndCVRegMapping() 185 {codeview::RegisterId::CH, X86::CH}, in initLLVMToSEHAndCVRegMapping() 186 {codeview::RegisterId::DH, X86::DH}, in initLLVMToSEHAndCVRegMapping() 187 {codeview::RegisterId::BH, X86::BH}, in initLLVMToSEHAndCVRegMapping() 188 {codeview::RegisterId::AX, X86::AX}, in initLLVMToSEHAndCVRegMapping() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | CodeViewRegisterMapping.cpp | 656 case llvm::codeview::RegisterId::AL: in GetRegisterSize() 657 case llvm::codeview::RegisterId::BL: in GetRegisterSize() 658 case llvm::codeview::RegisterId::CL: in GetRegisterSize() 659 case llvm::codeview::RegisterId::DL: in GetRegisterSize() 660 case llvm::codeview::RegisterId::AH: in GetRegisterSize() 661 case llvm::codeview::RegisterId::BH: in GetRegisterSize() 662 case llvm::codeview::RegisterId::CH: in GetRegisterSize() 663 case llvm::codeview::RegisterId::DH: in GetRegisterSize() 677 case llvm::codeview::RegisterId::AX: in GetRegisterSize() 678 case llvm::codeview::RegisterId::BX: in GetRegisterSize() [all …]
|
| H A D | PdbUtil.h | 44 const llvm::codeview::TagRecord &asTag() const { in asTag() 76 CVTagRecord(llvm::codeview::ClassRecord &&c); 77 CVTagRecord(llvm::codeview::UnionRecord &&u); 78 CVTagRecord(llvm::codeview::EnumRecord &&e); 80 llvm::codeview::ClassRecord cvclass; 81 llvm::codeview::EnumRecord cvenum; 82 llvm::codeview::UnionRecord cvunion; 104 llvm::codeview::TypeIndex type; 129 bool IsTagRecord(llvm::codeview::CVType cvt); 136 llvm::codeview::TypeIndex GetFieldListIndex(llvm::codeview::CVType cvt); [all …]
|
| H A D | UdtRecordCompleter.h | 40 class UdtRecordCompleter : public llvm::codeview::TypeVisitorCallbacks { 46 llvm::codeview::UnionRecord ur; 47 llvm::codeview::ClassRecord cr; 48 llvm::codeview::EnumRecord er; 73 llvm::Error visitKnownMember(llvm::codeview::CVMemberRecord &CVR, \ 74 llvm::codeview::Name##Record &Record) override; 130 llvm::codeview::TypeIndex ti, llvm::codeview::MemberAccess access, 132 void AddMethod(llvm::StringRef name, llvm::codeview::TypeIndex type_idx, 133 llvm::codeview::MemberAccess access, 134 llvm::codeview::MethodOptions options, [all …]
|
| H A D | SymbolFileNativePDB.h | 30 namespace codeview { 162 std::optional<llvm::codeview::TypeIndex> 163 GetParentType(llvm::codeview::TypeIndex ti); 195 const llvm::codeview::ModifierRecord &mr, 198 const llvm::codeview::PointerRecord &pr, 202 const llvm::codeview::ClassRecord &cr, 205 const llvm::codeview::EnumRecord &er, 208 const llvm::codeview::UnionRecord &ur, 211 const llvm::codeview::ArrayRecord &ar, 227 lldb::TypeSP GetOrCreateType(llvm::codeview::TypeIndex ti); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMCTargetDesc.cpp | 226 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 229 {codeview::RegisterId::ARM_R0, ARM::R0}, in initLLVMToCVRegMapping() 230 {codeview::RegisterId::ARM_R1, ARM::R1}, in initLLVMToCVRegMapping() 231 {codeview::RegisterId::ARM_R2, ARM::R2}, in initLLVMToCVRegMapping() 232 {codeview::RegisterId::ARM_R3, ARM::R3}, in initLLVMToCVRegMapping() 233 {codeview::RegisterId::ARM_R4, ARM::R4}, in initLLVMToCVRegMapping() 234 {codeview::RegisterId::ARM_R5, ARM::R5}, in initLLVMToCVRegMapping() 235 {codeview::RegisterId::ARM_R6, ARM::R6}, in initLLVMToCVRegMapping() 236 {codeview::RegisterId::ARM_R7, ARM::R7}, in initLLVMToCVRegMapping() 237 {codeview::RegisterId::ARM_R8, ARM::R8}, in initLLVMToCVRegMapping() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.h | 99 codeview::CPUType TheCPU; 139 codeview::JumpTableEntrySize EntrySize; 217 codeview::SourceLanguage::Masm; 298 codeview::TypeIndex VBPType; 421 codeview::TypeIndex 432 codeview::TypeIndex getVBPTypeIndex(); 443 codeview::TypeIndex lowerTypePointer( 445 codeview::PointerOptions PO = codeview::PointerOptions::None); 448 codeview::PointerOptions PO = codeview::PointerOptions::None); 455 codeview::FunctionOptions FO = codeview::FunctionOptions::None); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalSymbolDumper.h | 15 namespace codeview { 26 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper() 27 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() 31 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper() 36 Error visitSymbolBegin(codeview::CVSymbol &Record) override; 38 Error visitSymbolEnd(codeview::CVSymbol &Record) override; 51 std::string typeIndex(codeview::TypeIndex TI) const; 52 std::string idIndex(codeview::TypeIndex TI) const; 58 codeview::CPUType CompilationCPU = codeview::CPUType::X64; 62 codeview::LazyRandomTypeCollection &Ids; [all …]
|
| H A D | MinimalTypeDumper.h | 16 namespace codeview { 25 class MinimalTypeDumpVisitor : public codeview::TypeVisitorCallbacks { 37 Error visitTypeBegin(codeview::CVType &Record, 38 codeview::TypeIndex Index) override; 39 Error visitTypeEnd(codeview::CVType &Record) override; 41 Error visitMemberEnd(codeview::CVMemberRecord &Record) override; 45 codeview::Name##Record &Record) override; 48 codeview::Name##Record &Record) override; 54 StringRef getTypeName(codeview::TypeIndex TI) const; 60 codeview::LazyRandomTypeCollection &Types; [all …]
|
| H A D | TypeReferenceTracker.h | 35 bool isTypeReferenced(codeview::TypeIndex TI) { in isTypeReferenced() 41 void addTypeRefsFromSymbol(const codeview::CVSymbol &Sym); 45 ArrayRef<codeview::TiReference> Refs); 50 void addOneTypeRef(codeview::TiRefKind RefKind, codeview::TypeIndex RefTI); 53 codeview::LazyRandomTypeCollection &Types; 54 codeview::LazyRandomTypeCollection *Ids = nullptr; 58 SmallVector<std::pair<codeview::TiRefKind, codeview::TypeIndex>, 10>
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | TpiStream.h | 22 namespace codeview { 56 codeview::CVTypeRange types(bool *HadError) const; 57 const codeview::CVTypeArray &typeArray() const { return TypeRecords; } in typeArray() 59 codeview::LazyRandomTypeCollection &typeCollection() { return *Types; } in typeCollection() 61 Expected<codeview::TypeIndex> 62 findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const; 66 codeview::CVType getType(codeview::TypeIndex Index); 80 std::unique_ptr<codeview::LazyRandomTypeCollection> Types; 84 codeview::CVTypeArray TypeRecords; 88 FixedStreamArray<codeview::TypeIndexOffset> TypeIndexOffsets; [all …]
|
| H A D | SymbolCache.h | 26 namespace codeview { 83 codeview::LineInfo Line; 99 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() 113 codeview::CVType CVT) const; 115 SymIndexId createSimpleType(codeview::TypeIndex TI, 116 codeview::ModifierOptions Mods) const; 146 createTypeEnumerator(codeview::TypeLeafKind Kind); 149 createTypeEnumerator(std::vector<codeview::TypeLeafKind> Kinds); 152 createGlobalsEnumerator(codeview::SymbolKind Kind); 154 SymIndexId findSymbolByTypeIndex(codeview::TypeIndex TI) const; [all …]
|
| H A D | ModuleDebugStream.h | 23 namespace codeview { 32 using DebugSubsectionIterator = codeview::DebugSubsectionArray::Iterator; 45 iterator_range<codeview::CVSymbolArray::Iterator> 48 const codeview::CVSymbolArray &getSymbolArray() const { return SymbolArray; } in getSymbolArray() 49 const codeview::CVSymbolArray 59 codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const; 62 codeview::DebugSubsectionArray getSubsectionsArray() const { in getSubsectionsArray() 70 Expected<codeview::DebugChecksumsSubsectionRef> 82 codeview::CVSymbolArray SymbolArray; 89 codeview::DebugSubsectionArray Subsections;
|
| H A D | NativeTypeUDT.h | 26 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, 27 codeview::ClassRecord Class); 29 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, 30 codeview::UnionRecord Union); 34 codeview::ModifierRecord Modifier); 64 codeview::TypeIndex Index; 66 std::optional<codeview::ClassRecord> Class; 67 std::optional<codeview::UnionRecord> Union; 69 codeview::TagRecord *Tag = nullptr; 70 std::optional<codeview::ModifierRecord> Modifiers;
|
| H A D | NativeTypeFunctionSig.h | 27 codeview::TypeIndex TI, codeview::ProcedureRecord Proc); 30 codeview::TypeIndex TI, 31 codeview::MemberFunctionRecord MemberFunc); 54 void initializeArgList(codeview::TypeIndex ArgListTI); 57 codeview::MemberFunctionRecord MemberFunc; 58 codeview::ProcedureRecord Proc; 62 codeview::TypeIndex Index; 63 codeview::ArgListRecord ArgList;
|
| 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 | GSIStreamBuilder.h | 21 namespace codeview { 28 template <> struct BinaryItemTraits<codeview::CVSymbol> { 29 static size_t length(const codeview::CVSymbol &Item) { 32 static ArrayRef<uint8_t> bytes(const codeview::CVSymbol &Item) { 66 void addGlobalSymbol(const codeview::ProcRefSym &Sym); 67 void addGlobalSymbol(const codeview::DataSym &Sym); 68 void addGlobalSymbol(const codeview::ConstantSym &Sym); 72 void addGlobalSymbol(const codeview::CVSymbol &Sym); 98 std::vector<codeview::CVSymbol> Globals; 102 llvm::DenseSet<codeview::CVSymbol, SymbolDenseMapInfo> GlobalsSeen; [all …]
|
| H A D | NativeTypeEnum.h | 26 NativeTypeEnum(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, 27 codeview::EnumRecord Record); 31 codeview::ModifierRecord Modifier); 63 const codeview::EnumRecord &getEnumRecord() const { return *Record; } in getEnumRecord() 66 codeview::TypeIndex Index; 67 std::optional<codeview::EnumRecord> Record; 69 std::optional<codeview::ModifierRecord> Modifiers;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeHashing.h | 26 namespace codeview { 184 static codeview::LocallyHashedType Empty; 185 static codeview::LocallyHashedType Tombstone; 195 static bool isEqual(codeview::LocallyHashedType LHS, 196 codeview::LocallyHashedType RHS) { 204 static codeview::GloballyHashedType Empty; 205 static codeview::GloballyHashedType Tombstone; 215 static bool isEqual(codeview::GloballyHashedType LHS, 216 codeview::GloballyHashedType RHS) { 223 static void format(const codeview::LocallyHashedType &V, [all …]
|
| /freebsd-14.2/contrib/llvm-project/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 | 42 using namespace llvm::codeview; 48 codeview::SimpleTypeKind Kind; 201 case codeview::LF_ENUM: in findSymbolByTypeIndex() 204 case codeview::LF_ARRAY: in findSymbolByTypeIndex() 208 case codeview::LF_CLASS: in findSymbolByTypeIndex() 209 case codeview::LF_STRUCTURE: in findSymbolByTypeIndex() 210 case codeview::LF_INTERFACE: in findSymbolByTypeIndex() 213 case codeview::LF_UNION: in findSymbolByTypeIndex() 216 case codeview::LF_POINTER: in findSymbolByTypeIndex() 220 case codeview::LF_MODIFIER: in findSymbolByTypeIndex() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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); 118 Expected<std::vector<std::shared_ptr<codeview::DebugSubsection>>> 121 const codeview::StringsAndChecksums &SC); 124 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC); 127 codeview::StringsAndChecksums &SC);
|
| /freebsd-14.2/contrib/llvm-project/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 …]
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | DebugTypes.h | 20 namespace llvm::codeview { 30 using llvm::codeview::GloballyHashedType; 31 using llvm::codeview::TypeIndex; 67 bool remapTypeIndex(TypeIndex &ti, llvm::codeview::TiRefKind refKind) const; 71 ArrayRef<llvm::codeview::TiReference> typeRefs); 73 void mergeTypeRecord(TypeIndex curIndex, llvm::codeview::CVType ty); 139 llvm::ArrayRef<llvm::codeview::GloballyHashedType> ghashes; 170 llvm::codeview::TypeServer2Record ts); 173 llvm::codeview::PrecompRecord ts);
|