• Home
  • Raw
  • Download

Lines Matching refs:EC

117   std::error_code EC;  in mergeInstrProfile()  local
118 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); in mergeInstrProfile()
119 if (EC) in mergeInstrProfile()
120 exitWithErrorCode(EC, OutputFilename); in mergeInstrProfile()
131 if (std::error_code EC = Writer.addRecord(std::move(I), Input.Weight)) { in mergeInstrProfile() local
133 bool firstTime = WriterErrorCodes.insert(EC).second; in mergeInstrProfile()
134 handleMergeWriterError(EC, Input.Filename, I.Name, firstTime); in mergeInstrProfile()
156 if (std::error_code EC = WriterOrErr.getError()) in mergeSampleProfile() local
157 exitWithErrorCode(EC, OutputFilename); in mergeSampleProfile()
165 if (std::error_code EC = ReaderOrErr.getError()) in mergeSampleProfile() local
166 exitWithErrorCode(EC, Input.Filename); in mergeSampleProfile()
174 if (std::error_code EC = Reader->read()) in mergeSampleProfile() local
175 exitWithErrorCode(EC, Input.Filename); in mergeSampleProfile()
185 std::error_code EC = make_error_code(Result); in mergeSampleProfile() local
186 handleMergeWriterError(EC, Input.Filename, FName); in mergeSampleProfile()
256 if (std::error_code EC = ReaderOrErr.getError()) in showInstrProfile() local
257 exitWithErrorCode(EC, Filename); in showInstrProfile()
346 if (std::error_code EC = ReaderOrErr.getError()) in showSampleProfile() local
347 exitWithErrorCode(EC, Filename); in showSampleProfile()
350 if (std::error_code EC = Reader->read()) in showSampleProfile() local
351 exitWithErrorCode(EC, Filename); in showSampleProfile()
392 std::error_code EC; in show_main() local
393 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::F_Text); in show_main()
394 if (EC) in show_main()
395 exitWithErrorCode(EC, OutputFilename); in show_main()