This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Fix unhandled error.
ClosedPublic

Authored by gchatelet on Jun 11 2018, 6:35 AM.

Details

Summary

Fixing an unhandled error when calling writeYaml.

Diff Detail

Repository
rL LLVM

Event Timeline

gchatelet created this revision.Jun 11 2018, 6:35 AM
gchatelet updated this revision to Diff 150740.Jun 11 2018, 6:38 AM

Removed LLVM_NODISCARD from InstructionBenchmark IO functions since llvm::Error is already marked as LLVM_NODISCARD.

gchatelet updated this revision to Diff 150741.Jun 11 2018, 6:39 AM

Removing unnecessary header.

courbet accepted this revision.Jun 11 2018, 6:59 AM

Too bad clang does not catch this in loops.

This revision is now accepted and ready to land.Jun 11 2018, 6:59 AM
RKSimon accepted this revision.Jun 11 2018, 7:13 AM

Thanks - this fixes PR37759

This revision was automatically updated to reflect the committed changes.