• Home
  • Raw
  • Download

Lines Matching refs:make_error

190       return make_error<GenericBinaryError>("Invalid type for ref.null",  in readInitExpr()
196 return make_error<GenericBinaryError>("Invalid opcode in init_expr", in readInitExpr()
202 return make_error<GenericBinaryError>("Invalid init_expr", in readInitExpr()
231 return make_error<StringError>("Zero length section", in readSection()
234 return make_error<StringError>("Section too large", in readSection()
250 return make_error<StringError>("Out of order section type: " + in readSection()
266 make_error<StringError>("Bad magic number", object_error::parse_failed); in WasmObjectFile()
276 Err = make_error<StringError>("Missing version number", in WasmObjectFile()
283 Err = make_error<StringError>("Bad version number", in WasmObjectFile()
335 return make_error<GenericBinaryError>( in parseSection()
352 return make_error<GenericBinaryError>("dylink section ended prematurely", in parseDylinkSection()
361 return make_error<GenericBinaryError>("Names must come after code section", in parseNameSection()
378 return make_error<GenericBinaryError>( in parseNameSection()
381 return make_error<GenericBinaryError>("Invalid name entry", in parseNameSection()
388 return make_error<GenericBinaryError>("Global named more than once", in parseNameSection()
391 return make_error<GenericBinaryError>("Invalid name entry", in parseNameSection()
408 return make_error<GenericBinaryError>( in parseNameSection()
413 return make_error<GenericBinaryError>("Name section ended prematurely", in parseNameSection()
421 return make_error<GenericBinaryError>( in parseLinkingSection()
428 return make_error<GenericBinaryError>( in parseLinkingSection()
450 return make_error<GenericBinaryError>("Too many segment names", in parseLinkingSection()
467 return make_error<GenericBinaryError>("Invalid function symbol: " + in parseLinkingSection()
483 return make_error<GenericBinaryError>( in parseLinkingSection()
487 return make_error<GenericBinaryError>("Linking section ended prematurely", in parseLinkingSection()
533 return make_error<GenericBinaryError>("invalid function symbol index", in parseLinkingSectionSymtab()
561 return make_error<GenericBinaryError>("invalid global symbol index", in parseLinkingSectionSymtab()
565 return make_error<GenericBinaryError>("undefined weak global symbol", in parseLinkingSectionSymtab()
593 return make_error<GenericBinaryError>("invalid table symbol index", in parseLinkingSectionSymtab()
597 return make_error<GenericBinaryError>("undefined weak table symbol", in parseLinkingSectionSymtab()
627 return make_error<GenericBinaryError>("invalid data symbol index", in parseLinkingSectionSymtab()
632 return make_error<GenericBinaryError>("invalid data symbol offset", in parseLinkingSectionSymtab()
641 return make_error<GenericBinaryError>( in parseLinkingSectionSymtab()
655 return make_error<GenericBinaryError>("invalid event symbol index", in parseLinkingSectionSymtab()
659 return make_error<GenericBinaryError>("undefined weak global symbol", in parseLinkingSectionSymtab()
688 return make_error<GenericBinaryError>("Invalid symbol type", in parseLinkingSectionSymtab()
695 return make_error<GenericBinaryError>("Duplicate symbol name " + in parseLinkingSectionSymtab()
713 return make_error<GenericBinaryError>("Bad/duplicate COMDAT name " + in parseLinkingSectionComdat()
719 return make_error<GenericBinaryError>("Unsupported COMDAT flags", in parseLinkingSectionComdat()
728 return make_error<GenericBinaryError>("Invalid COMDAT entry type", in parseLinkingSectionComdat()
732 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
735 return make_error<GenericBinaryError>("Data segment in two COMDATs", in parseLinkingSectionComdat()
741 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
744 return make_error<GenericBinaryError>("Function in two COMDATs", in parseLinkingSectionComdat()
750 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
753 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
769 return make_error<GenericBinaryError>( in parseProducersSection()
780 return make_error<GenericBinaryError>( in parseProducersSection()
791 return make_error<GenericBinaryError>( in parseProducersSection()
799 return make_error<GenericBinaryError>("Producers section ended prematurely", in parseProducersSection()
816 return make_error<GenericBinaryError>("Unknown feature policy prefix", in parseTargetFeaturesSection()
821 return make_error<GenericBinaryError>( in parseTargetFeaturesSection()
828 return make_error<GenericBinaryError>( in parseTargetFeaturesSection()
837 return make_error<GenericBinaryError>("Invalid section index", in parseRelocSection()
848 return make_error<GenericBinaryError>("Relocations not in offset order", in parseRelocSection()
860 return make_error<GenericBinaryError>("Bad relocation function index", in parseRelocSection()
865 return make_error<GenericBinaryError>("Bad relocation table index", in parseRelocSection()
870 return make_error<GenericBinaryError>("Bad relocation type index", in parseRelocSection()
879 return make_error<GenericBinaryError>("Bad relocation global index", in parseRelocSection()
884 return make_error<GenericBinaryError>("Bad relocation global index", in parseRelocSection()
889 return make_error<GenericBinaryError>("Bad relocation event index", in parseRelocSection()
898 return make_error<GenericBinaryError>("Bad relocation data index", in parseRelocSection()
907 return make_error<GenericBinaryError>("Bad relocation data index", in parseRelocSection()
913 return make_error<GenericBinaryError>("Bad relocation function index", in parseRelocSection()
919 return make_error<GenericBinaryError>("Bad relocation function index", in parseRelocSection()
925 return make_error<GenericBinaryError>("Bad relocation section index", in parseRelocSection()
930 return make_error<GenericBinaryError>("Bad relocation type: " + in parseRelocSection()
954 return make_error<GenericBinaryError>("Bad relocation offset", in parseRelocSection()
960 return make_error<GenericBinaryError>("Reloc section ended prematurely", in parseRelocSection()
995 return make_error<GenericBinaryError>("Invalid signature type", in parseTypeSection()
1012 return make_error<GenericBinaryError>("Type section ended prematurely", in parseTypeSection()
1046 return make_error<GenericBinaryError>("Invalid table element type", in parseImportSection()
1056 return make_error<GenericBinaryError>("Unexpected import kind", in parseImportSection()
1062 return make_error<GenericBinaryError>("Import section ended prematurely", in parseImportSection()
1075 return make_error<GenericBinaryError>("Invalid function type", in parseFunctionSection()
1080 return make_error<GenericBinaryError>("Function section ended prematurely", in parseFunctionSection()
1097 return make_error<GenericBinaryError>("Invalid table element type", in parseTableSection()
1102 return make_error<GenericBinaryError>("Table section ended prematurely", in parseTableSection()
1117 return make_error<GenericBinaryError>("Memory section ended prematurely", in parseMemorySection()
1135 return make_error<GenericBinaryError>("Event section ended prematurely", in parseEventSection()
1154 return make_error<GenericBinaryError>("Global section ended prematurely", in parseGlobalSection()
1171 return make_error<GenericBinaryError>("Invalid function export", in parseExportSection()
1177 return make_error<GenericBinaryError>("Invalid global export", in parseExportSection()
1182 return make_error<GenericBinaryError>("Invalid event export", in parseExportSection()
1189 return make_error<GenericBinaryError>("Unexpected export kind", in parseExportSection()
1195 return make_error<GenericBinaryError>("Export section ended prematurely", in parseExportSection()
1280 return make_error<GenericBinaryError>("Invalid start function", in parseStartSection()
1290 return make_error<GenericBinaryError>("Invalid function count", in parseCodeSection()
1322 return make_error<GenericBinaryError>("Code section ended prematurely", in parseCodeSection()
1334 return make_error<GenericBinaryError>("Invalid TableIndex", in parseElemSection()
1346 return make_error<GenericBinaryError>("Elem section ended prematurely", in parseElemSection()
1355 return make_error<GenericBinaryError>( in parseDataSection()
1372 return make_error<GenericBinaryError>("Invalid segment size", in parseDataSection()
1385 return make_error<GenericBinaryError>("Data section ended prematurely", in parseDataSection()