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

Method emitError

lib/Bytecode/Reader/BytecodeReader.cpp:266–269  ·  view source on GitHub ↗

Emits an error message associated with the current reader offset. TODO: Generate a location based on the current offset instead of UnknownLoc.

Source from the content-addressed store, hash-verified

264 // TODO: Generate a location based on the current offset instead of
265 // UnknownLoc.
266 InFlightDiagnostic emitError() const {
267 return ::emitError(UnknownLoc::get(&context))
268 << "error at offset " << offset << ": ";
269 }
270
271 void inheritStringTableFrom(const EncodingReader &masterReader) {
272 this->stringData = masterReader.stringData;

Callers 15

roundTripModuleFunction · 0.80
parseHeaderFunction · 0.80
parseSectionHeaderFunction · 0.80
parseStringSectionFunction · 0.80
parseGenericEnumAttrFunction · 0.80
parseFunctionTypeMethod · 0.80
parseTypeSectionFunction · 0.80
getOrCreateMethod · 0.80
parseConstantSectionFunction · 0.80
parseDICompileUnitMethod · 0.80
parseDIFileMethod · 0.80
parseDILexicalBlockMethod · 0.80

Calls

no outgoing calls

Tested by 2

roundTripModuleFunction · 0.64
runOnOperationMethod · 0.64