MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / parseDebugInfo

Method parseDebugInfo

lib/Bytecode/Reader/BytecodeReader.cpp:1085–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1083 }
1084
1085 LogicalResult parseDebugInfo(uint8_t diTag, ArrayRef<uint8_t> diData,
1086 Attribute &diParsed) {
1087 EncodingReader reader(diData, context);
1088 reader.inheritStringTableFrom(masterReader);
1089 switch (static_cast<DebugTag>(diTag)) {
1090 case DebugTag::DICompileUnit:
1091 return parseDICompileUnit(reader, diParsed);
1092 case DebugTag::DIFile:
1093 return parseDIFile(reader, diParsed);
1094 case DebugTag::DILexicalBlock:
1095 return parseDILexicalBlock(reader, diParsed);
1096 case DebugTag::DILoc:
1097 return parseDILoc(reader, diParsed);
1098 case DebugTag::DISubprogram:
1099 return parseDISubprogram(reader, diParsed);
1100 case DebugTag::CallSite:
1101 return parseCallSite(reader, diParsed);
1102 default:
1103 return parseUnknown(reader, diParsed);
1104 }
1105 }
1106
1107 MLIRContext &context;
1108 ArrayRef<uint64_t> diIndices;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected