[PATCH] D48022: [llvm-exegesis] Fix unhandled error.
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 06:39:42 PDT 2018
gchatelet updated this revision to Diff 150741.
gchatelet added a comment.
Removing unnecessary header.
Repository:
rL LLVM
https://reviews.llvm.org/D48022
Files:
tools/llvm-exegesis/llvm-exegesis.cpp
Index: tools/llvm-exegesis/llvm-exegesis.cpp
===================================================================
--- tools/llvm-exegesis/llvm-exegesis.cpp
+++ tools/llvm-exegesis/llvm-exegesis.cpp
@@ -148,7 +148,7 @@
std::vector<InstructionBenchmark> Results = ExitOnErr(Runner->run(
GetOpcodeOrDie(State.getInstrInfo()), Filter, NumRepetitions));
for (InstructionBenchmark &Result : Results)
- Result.writeYaml(Context, BenchmarkFile);
+ ExitOnErr(Result.writeYaml(Context, BenchmarkFile));
exegesis::pfm::pfmTerminate();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48022.150741.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180611/03223d90/attachment.bin>
More information about the llvm-commits
mailing list