From 8fb6e40de81c7cb41eb28cc4d6b5d17bd738bea6 Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Wed, 4 Apr 2018 12:01:46 +0000 Subject: [PATCH] [llvm-exegesis] Fix compilation on lld-x86_64-darwin13 YAMLTraits does not know how to serialize `size_t` portably. Use `int` instead. llvm-svn: 329176 --- llvm/tools/llvm-exegesis/lib/BenchmarkResult.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h index 6c238fd..e906aea 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h @@ -38,7 +38,7 @@ struct InstructionBenchmark { AsmTemplate AsmTmpl; std::string CpuName; std::string LLVMTriple; - size_t NumRepetitions = 0; + int NumRepetitions = 0; std::vector Measurements; std::string Error; -- 2.7.4