reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1046 AssertDI(N.isDistinct(), "compile units must be distinct", &N); 1046 AssertDI(N.isDistinct(), "compile units must be distinct", &N); 1047 AssertDI(N.getTag() == dwarf::DW_TAG_compile_unit, "invalid tag", &N); 1047 AssertDI(N.getTag() == dwarf::DW_TAG_compile_unit, "invalid tag", &N); 1051 AssertDI(N.getRawFile() && isa<DIFile>(N.getRawFile()), "invalid file", &N, 1051 AssertDI(N.getRawFile() && isa<DIFile>(N.getRawFile()), "invalid file", &N, 1051 AssertDI(N.getRawFile() && isa<DIFile>(N.getRawFile()), "invalid file", &N, 1052 N.getRawFile()); 1053 AssertDI(!N.getFile()->getFilename().empty(), "invalid filename", &N, 1053 AssertDI(!N.getFile()->getFilename().empty(), "invalid filename", &N, 1054 N.getFile()); 1056 verifySourceDebugInfo(N, *N.getFile()); 1056 verifySourceDebugInfo(N, *N.getFile()); 1058 AssertDI((N.getEmissionKind() <= DICompileUnit::LastEmissionKind), 1059 "invalid emission kind", &N); 1061 if (auto *Array = N.getRawEnumTypes()) { 1062 AssertDI(isa<MDTuple>(Array), "invalid enum list", &N, Array); 1063 for (Metadata *Op : N.getEnumTypes()->operands()) { 1066 "invalid enum type", &N, N.getEnumTypes(), Op); 1066 "invalid enum type", &N, N.getEnumTypes(), Op); 1069 if (auto *Array = N.getRawRetainedTypes()) { 1070 AssertDI(isa<MDTuple>(Array), "invalid retained type list", &N, Array); 1071 for (Metadata *Op : N.getRetainedTypes()->operands()) { 1075 "invalid retained type", &N, Op); 1078 if (auto *Array = N.getRawGlobalVariables()) { 1079 AssertDI(isa<MDTuple>(Array), "invalid global variable list", &N, Array); 1080 for (Metadata *Op : N.getGlobalVariables()->operands()) { 1082 "invalid global variable ref", &N, Op); 1085 if (auto *Array = N.getRawImportedEntities()) { 1086 AssertDI(isa<MDTuple>(Array), "invalid imported entity list", &N, Array); 1087 for (Metadata *Op : N.getImportedEntities()->operands()) { 1089 &N, Op); 1092 if (auto *Array = N.getRawMacros()) { 1093 AssertDI(isa<MDTuple>(Array), "invalid macro list", &N, Array); 1094 for (Metadata *Op : N.getMacros()->operands()) { 1095 AssertDI(Op && isa<DIMacroNode>(Op), "invalid macro ref", &N, Op); 1098 CUVisited.insert(&N);