• Home
  • Raw
  • Download

Lines Matching full:codeview

10 // This file contains support for writing Microsoft CodeView debug info.
23 #include "llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h"
24 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
36 /// \brief Collects and handles line tables information in a CodeView format.
39 codeview::MemoryTypeTableBuilder TypeTable;
124 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP);
141 /// be nullptr, to CodeView type indices. Primarily indexed by
146 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
151 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
160 codeview::TypeIndex VBPType;
166 std::vector<std::pair<std::string, codeview::TypeIndex>> LocalUDTs,
184 /// Emit the magic version number at the start of a CodeView type or symbol
199 ArrayRef<std::pair<std::string, codeview::TypeIndex>> UDTs);
203 /// Opens a subsection of the given kind in a .debug$S codeview section.
206 MCSymbol *beginCVSubsection(codeview::ModuleSubstreamKind Kind);
229 /// Translates the DIType to codeview if necessary and returns a type index
231 codeview::TypeIndex getTypeIndex(DITypeRef TypeRef,
234 codeview::TypeIndex getMemberFunctionType(const DISubprogram *SP,
237 codeview::TypeIndex getScopeIndex(const DIScope *Scope);
239 codeview::TypeIndex getVBPTypeIndex();
241 void addToUDTs(const DIType *Ty, codeview::TypeIndex TI);
243 codeview::TypeIndex lowerType(const DIType *Ty, const DIType *ClassTy);
244 codeview::TypeIndex lowerTypeAlias(const DIDerivedType *Ty);
245 codeview::TypeIndex lowerTypeArray(const DICompositeType *Ty);
246 codeview::TypeIndex lowerTypeBasic(const DIBasicType *Ty);
247 codeview::TypeIndex lowerTypePointer(const DIDerivedType *Ty);
248 codeview::TypeIndex lowerTypeMemberPointer(const DIDerivedType *Ty);
249 codeview::TypeIndex lowerTypeModifier(const DIDerivedType *Ty);
250 codeview::TypeIndex lowerTypeFunction(const DISubroutineType *Ty);
251 codeview::TypeIndex lowerTypeMemberFunction(const DISubroutineType *Ty,
254 codeview::TypeIndex lowerTypeEnum(const DICompositeType *Ty);
255 codeview::TypeIndex lowerTypeClass(const DICompositeType *Ty);
256 codeview::TypeIndex lowerTypeUnion(const DICompositeType *Ty);
263 codeview::TypeIndex getCompleteTypeIndex(DITypeRef TypeRef);
265 codeview::TypeIndex lowerCompleteTypeClass(const DICompositeType *Ty);
266 codeview::TypeIndex lowerCompleteTypeUnion(const DICompositeType *Ty);
278 std::tuple<codeview::TypeIndex, codeview::TypeIndex, unsigned, bool>
282 codeview::TypeIndex recordTypeIndexForDINode(const DINode *Node,
283 codeview::TypeIndex TI,