From b4b6ec01c6d1c6f15da65c37be9ffa2482712e7f Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Thu, 25 Oct 2018 08:11:35 +0000 Subject: [llvm-exegesis] Add missing initializer. This is a better fix than rL345245. llvm-svn: 345246 --- llvm/tools/llvm-exegesis/lib/Target.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-exegesis/lib/Target.cpp') diff --git a/llvm/tools/llvm-exegesis/lib/Target.cpp b/llvm/tools/llvm-exegesis/lib/Target.cpp index 588c40e8c7f..06557770418 100644 --- a/llvm/tools/llvm-exegesis/lib/Target.cpp +++ b/llvm/tools/llvm-exegesis/lib/Target.cpp @@ -87,7 +87,7 @@ ExegesisTarget::createUopsBenchmarkRunner(const LLVMState &State) const { static_assert(std::is_pod::value, "We shouldn't have dynamic initialization here"); -const PfmCountersInfo PfmCountersInfo::Default = {nullptr, nullptr, nullptr}; +const PfmCountersInfo PfmCountersInfo::Default = {nullptr, nullptr, nullptr, 0u}; const PfmCountersInfo & ExegesisTarget::getPfmCounters(llvm::StringRef CpuName) const { -- cgit v1.2.3