From eece4058a464ad1c161726c72e47e8e6bfe1c0ec Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Tue, 25 Sep 2018 13:18:10 +0000 Subject: [PATCH] [llvm-exegesis] Fix broken test. llvm-svn: 342971 --- llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp index 74446fc77cd8..c8b3ee75bd26 100644 --- a/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp +++ b/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp @@ -56,7 +56,7 @@ TEST(BenchmarkResultTest, WriteToAndReadFromDisk) { LLVMInitializeX86TargetMC(); // Read benchmarks. - const LLVMState State; + const LLVMState State("x86_64-unknown-linux", "haswell"); llvm::ExitOnError ExitOnErr;