mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 06:25:01 +00:00
[llvm-exegesis] Fix unhandled error.
Summary: Fixing an unhandled error when calling writeYaml. Reviewers: courbet Subscribers: tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D48022 llvm-svn: 334405
This commit is contained in:
parent
a67aba90ea
commit
75085cc5d9
@ -148,7 +148,7 @@ void benchmarkMain() {
|
||||
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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user