Lines Matching full:codeview
3 #include "llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h"
4 #include "llvm/DebugInfo/CodeView/DebugLinesSubsection.h"
5 #include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
6 #include "llvm/DebugInfo/CodeView/TypeDeserializer.h"
7 #include "llvm/DebugInfo/CodeView/TypeRecordHelpers.h"
38 using namespace llvm::codeview;
41 // Maps codeview::SimpleTypeKind of a built-in type to the parameters necessary
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},
56 {codeview::SimpleTypeKind::UInt32Long, PDB_BuiltinType::UInt, 4},
57 {codeview::SimpleTypeKind::Int64Quad, PDB_BuiltinType::Int, 8},
58 {codeview::SimpleTypeKind::UInt64Quad, PDB_BuiltinType::UInt, 8},
59 {codeview::SimpleTypeKind::NarrowCharacter, PDB_BuiltinType::Char, 1},
60 {codeview::SimpleTypeKind::WideCharacter, PDB_BuiltinType::WCharT, 2},
61 {codeview::SimpleTypeKind::Character16, PDB_BuiltinType::Char16, 2},
62 {codeview::SimpleTypeKind::Character32, PDB_BuiltinType::Char32, 4},
63 {codeview::SimpleTypeKind::SignedCharacter, PDB_BuiltinType::Char, 1},
64 {codeview::SimpleTypeKind::UnsignedCharacter, PDB_BuiltinType::UInt, 1},
65 {codeview::SimpleTypeKind::Float32, PDB_BuiltinType::Float, 4},
66 {codeview::SimpleTypeKind::Float64, PDB_BuiltinType::Float, 8},
67 {codeview::SimpleTypeKind::Float80, PDB_BuiltinType::Float, 10},
68 {codeview::SimpleTypeKind::Boolean8, PDB_BuiltinType::Bool, 1},
101 SymbolCache::createGlobalsEnumerator(codeview::SymbolKind Kind) { in createGlobalsEnumerator()
108 if (Index.getSimpleMode() != codeview::SimpleTypeMode::Direct) in createSimpleType()
121 SymbolCache::createSymbolForModifiedType(codeview::TypeIndex ModifierTI, in createSymbolForModifiedType()
122 codeview::CVType CVT) const { in createSymbolForModifiedType()
152 SymIndexId SymbolCache::findSymbolByTypeIndex(codeview::TypeIndex Index) const { in findSymbolByTypeIndex()
172 codeview::LazyRandomTypeCollection &Types = Tpi->typeCollection(); in findSymbolByTypeIndex()
173 codeview::CVType CVT = Types.getType(Index); in findSymbolByTypeIndex()
195 case codeview::LF_ENUM: in findSymbolByTypeIndex()
198 case codeview::LF_ARRAY: in findSymbolByTypeIndex()
202 case codeview::LF_CLASS: in findSymbolByTypeIndex()
203 case codeview::LF_STRUCTURE: in findSymbolByTypeIndex()
204 case codeview::LF_INTERFACE: in findSymbolByTypeIndex()
207 case codeview::LF_UNION: in findSymbolByTypeIndex()
210 case codeview::LF_POINTER: in findSymbolByTypeIndex()
214 case codeview::LF_MODIFIER: in findSymbolByTypeIndex()
217 case codeview::LF_PROCEDURE: in findSymbolByTypeIndex()
221 case codeview::LF_MFUNCTION: in findSymbolByTypeIndex()
225 case codeview::LF_VTSHAPE: in findSymbolByTypeIndex()