Lines Matching refs:make_error

281         return make_error<GenericBinaryError>(  in readInitExpr()
319 return make_error<StringError>("zero length section", in readSection()
322 return make_error<StringError>("section too large", in readSection()
338 return make_error<StringError>("out of order section type: " + in readSection()
353 Err = make_error<StringError>("invalid magic number", in WasmObjectFile()
364 Err = make_error<StringError>("missing version number", in WasmObjectFile()
371 Err = make_error<StringError>("invalid version number: " + in WasmObjectFile()
424 return make_error<GenericBinaryError>( in parseSection()
443 return make_error<GenericBinaryError>("dylink section ended prematurely", in parseDylinkSection()
496 return make_error<GenericBinaryError>( in parseDylink0Section()
502 return make_error<GenericBinaryError>("dylink.0 section ended prematurely", in parseDylink0Section()
547 return make_error<GenericBinaryError>( in parseNameSection()
550 return make_error<GenericBinaryError>("invalid function name entry", in parseNameSection()
568 return make_error<GenericBinaryError>("global named more than once", in parseNameSection()
571 return make_error<GenericBinaryError>("invalid global name entry", in parseNameSection()
582 return make_error<GenericBinaryError>( in parseNameSection()
585 return make_error<GenericBinaryError>("invalid data segment name entry", in parseNameSection()
607 return make_error<GenericBinaryError>( in parseNameSection()
612 return make_error<GenericBinaryError>("name section ended prematurely", in parseNameSection()
622 return make_error<GenericBinaryError>( in parseLinkingSection()
644 return make_error<GenericBinaryError>("too many segment names", in parseLinkingSection()
661 return make_error<GenericBinaryError>("invalid function symbol: " + in parseLinkingSection()
677 return make_error<GenericBinaryError>( in parseLinkingSection()
681 return make_error<GenericBinaryError>("linking section ended prematurely", in parseLinkingSection()
728 return make_error<GenericBinaryError>("invalid function symbol index", in parseLinkingSectionSymtab()
754 return make_error<GenericBinaryError>("invalid global symbol index", in parseLinkingSectionSymtab()
758 return make_error<GenericBinaryError>("undefined weak global symbol", in parseLinkingSectionSymtab()
784 return make_error<GenericBinaryError>("invalid table symbol index", in parseLinkingSectionSymtab()
788 return make_error<GenericBinaryError>("undefined weak table symbol", in parseLinkingSectionSymtab()
818 return make_error<GenericBinaryError>( in parseLinkingSectionSymtab()
823 return make_error<GenericBinaryError>( in parseLinkingSectionSymtab()
836 return make_error<GenericBinaryError>( in parseLinkingSectionSymtab()
850 return make_error<GenericBinaryError>("invalid tag symbol index", in parseLinkingSectionSymtab()
854 return make_error<GenericBinaryError>("undefined weak global symbol", in parseLinkingSectionSymtab()
879 return make_error<GenericBinaryError>("invalid symbol type: " + in parseLinkingSectionSymtab()
887 return make_error<GenericBinaryError>("duplicate symbol name " + in parseLinkingSectionSymtab()
903 return make_error<GenericBinaryError>("bad/duplicate COMDAT name " + in parseLinkingSectionComdat()
909 return make_error<GenericBinaryError>("unsupported COMDAT flags", in parseLinkingSectionComdat()
918 return make_error<GenericBinaryError>("invalid COMDAT entry type", in parseLinkingSectionComdat()
922 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
925 return make_error<GenericBinaryError>("data segment in two COMDATs", in parseLinkingSectionComdat()
931 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
934 return make_error<GenericBinaryError>("function in two COMDATs", in parseLinkingSectionComdat()
940 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
943 return make_error<GenericBinaryError>( in parseLinkingSectionComdat()
959 return make_error<GenericBinaryError>( in parseProducersSection()
970 return make_error<GenericBinaryError>( in parseProducersSection()
981 return make_error<GenericBinaryError>( in parseProducersSection()
989 return make_error<GenericBinaryError>("producers section ended prematurely", in parseProducersSection()
1006 return make_error<GenericBinaryError>("unknown feature policy prefix", in parseTargetFeaturesSection()
1011 return make_error<GenericBinaryError>( in parseTargetFeaturesSection()
1018 return make_error<GenericBinaryError>( in parseTargetFeaturesSection()
1027 return make_error<GenericBinaryError>("invalid section index", in parseRelocSection()
1039 return make_error<GenericBinaryError>("relocations not in offset order", in parseRelocSection()
1043 return make_error<GenericBinaryError>( in parseRelocSection()
1121 return make_error<GenericBinaryError>("invalid relocation type: " + in parseRelocSection()
1147 return make_error<GenericBinaryError>("invalid relocation offset", in parseRelocSection()
1153 return make_error<GenericBinaryError>("reloc section ended prematurely", in parseRelocSection()
1201 return make_error<GenericBinaryError>("Rec group size cannot be 0", in parseTypeSection()
1218 return make_error<GenericBinaryError>( in parseTypeSection()
1232 return make_error<GenericBinaryError>("bad form", in parseTypeSection()
1257 return make_error<GenericBinaryError>("type section ended prematurely", in parseTypeSection()
1276 return make_error<GenericBinaryError>("invalid function type", in parseImportSection()
1297 return make_error<GenericBinaryError>("invalid table element type", in parseImportSection()
1304 return make_error<GenericBinaryError>("invalid attribute", in parseImportSection()
1308 return make_error<GenericBinaryError>("invalid tag type", in parseImportSection()
1312 return make_error<GenericBinaryError>("unexpected import kind", in parseImportSection()
1318 return make_error<GenericBinaryError>("import section ended prematurely", in parseImportSection()
1330 return make_error<GenericBinaryError>("invalid function type", in parseFunctionSection()
1337 return make_error<GenericBinaryError>("function section ended prematurely", in parseFunctionSection()
1356 return make_error<GenericBinaryError>("invalid table element type", in parseTableSection()
1361 return make_error<GenericBinaryError>("table section ended prematurely", in parseTableSection()
1376 return make_error<GenericBinaryError>("memory section ended prematurely", in parseMemorySection()
1388 return make_error<GenericBinaryError>("invalid attribute", in parseTagSection()
1392 return make_error<GenericBinaryError>("invalid tag type", in parseTagSection()
1402 return make_error<GenericBinaryError>("tag section ended prematurely", in parseTagSection()
1426 return make_error<GenericBinaryError>("global section ended prematurely", in parseGlobalSection()
1449 return make_error<GenericBinaryError>("invalid function export", in parseExportSection()
1461 return make_error<GenericBinaryError>("invalid global export", in parseExportSection()
1481 return make_error<GenericBinaryError>("invalid tag export", in parseExportSection()
1493 return make_error<GenericBinaryError>("unexpected export kind", in parseExportSection()
1503 return make_error<GenericBinaryError>("export section ended prematurely", in parseExportSection()
1588 return make_error<GenericBinaryError>("invalid start function", in parseStartSection()
1597 return make_error<GenericBinaryError>("invalid function count", in parseCodeSection()
1624 return make_error<GenericBinaryError>("Function extends beyond buffer", in parseCodeSection()
1634 return make_error<GenericBinaryError>("code section ended prematurely", in parseCodeSection()
1650 return make_error<GenericBinaryError>( in parseElemSection()
1671 return make_error<GenericBinaryError>("invalid TableNumber", in parseElemSection()
1691 return make_error<GenericBinaryError>("invalid elem type", in parseElemSection()
1696 return make_error<GenericBinaryError>("invalid elem type", in parseElemSection()
1723 return make_error<GenericBinaryError>("elem section ended prematurely", in parseElemSection()
1732 return make_error<GenericBinaryError>( in parseDataSection()
1752 return make_error<GenericBinaryError>("invalid segment size", in parseDataSection()
1765 return make_error<GenericBinaryError>("data section ended prematurely", in parseDataSection()