Lines Matching refs:instrprof_error
93 return make_error<InstrProfError>(instrprof_error::too_large); in create()
96 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in create()
109 return make_error<InstrProfError>(instrprof_error::unrecognized_format); in create()
143 return make_error<InstrProfError>(instrprof_error::too_large); in create()
147 return make_error<InstrProfError>(instrprof_error::bad_magic); in create()
188 return error(instrprof_error::bad_header); in readHeader()
199 return error(instrprof_error::truncated); in readValueProfileData()
202 return error(instrprof_error::malformed); in readValueProfileData()
218 return error(instrprof_error::malformed, in readValueProfileData()
225 return error(instrprof_error::malformed, "value kind is invalid"); in readValueProfileData()
272 return error(instrprof_error::eof); in readNextRecord()
282 return error(instrprof_error::truncated); in readNextRecord()
284 return error(instrprof_error::malformed, in readNextRecord()
290 return error(instrprof_error::truncated); in readNextRecord()
292 return error(instrprof_error::malformed, in readNextRecord()
295 return error(instrprof_error::malformed, "number of counters is zero"); in readNextRecord()
302 return error(instrprof_error::truncated); in readNextRecord()
305 return error(instrprof_error::malformed, "count is invalid"); in readNextRecord()
334 return error(instrprof_error::bad_magic); in readHeader()
336 return error(instrprof_error::bad_header); in readHeader()
351 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()
355 return make_error<InstrProfError>(instrprof_error::malformed, in readNextHeader()
359 return make_error<InstrProfError>(instrprof_error::malformed, in readNextHeader()
364 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()
389 return error(instrprof_error::unsupported_version); in readHeader()
391 return error(instrprof_error::missing_debug_info_for_correlation); in readHeader()
393 return error(instrprof_error::unexpected_debug_info_for_correlation); in readHeader()
397 return error(instrprof_error::bad_header); in readHeader()
420 return error(instrprof_error::bad_header); in readHeader()
448 return error(instrprof_error::bad_header); in readHeader()
475 return error(instrprof_error::malformed, "number of counters is zero"); in readRawCounts()
480 instrprof_error::malformed, in readRawCounts()
484 return error(instrprof_error::malformed, in readRawCounts()
494 return error(instrprof_error::malformed, in readRawCounts()
592 instrprof_error::malformed, in printBinaryIds()
601 instrprof_error::malformed, "not enough data to read binary id data"); in printBinaryIds()
607 instrprof_error::malformed, in printBinaryIds()
618 return make_error<InstrProfError>(instrprof_error::malformed); in printBinaryIds()
705 return make_error<InstrProfError>(instrprof_error::unknown_function); in getRecords()
709 return make_error<InstrProfError>(instrprof_error::malformed, in getRecords()
719 return make_error<InstrProfError>(instrprof_error::eof); in getRecords()
724 return make_error<InstrProfError>(instrprof_error::malformed, in getRecords()
836 return Err->get() == instrprof_error::unknown_function in getRecords()
937 return error(instrprof_error::truncated); in readHeader()
956 return error(instrprof_error::unsupported_hash_type); in readHeader()
1070 return error(instrprof_error::hash_mismatch); in getInstrProfRecord()
1072 return error(instrprof_error::unknown_function); in getInstrProfRecord()
1079 return make_error<InstrProfError>(instrprof_error::invalid_prof, in getMemProfRecord()
1084 instrprof_error::unknown_function, in getMemProfRecord()
1105 return make_error<InstrProfError>(instrprof_error::hash_mismatch, in getMemProfRecord()