From 06e51d035de4d990abd1fd6907b3ff47839beba2 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Thu, 18 Oct 2018 02:06:16 +0000 Subject: [PATCH] [llvm-exegesis] Mark destructor virtual after r344695 This was causing a -Wnon-virtual-dtor warning. llvm-svn: 344721 --- tools/llvm-exegesis/lib/BenchmarkRunner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-exegesis/lib/BenchmarkRunner.h b/tools/llvm-exegesis/lib/BenchmarkRunner.h index 46405898954..517155dbdfb 100644 --- a/tools/llvm-exegesis/lib/BenchmarkRunner.h +++ b/tools/llvm-exegesis/lib/BenchmarkRunner.h @@ -68,7 +68,7 @@ public: // context. class FunctionExecutor { public: - ~FunctionExecutor(); + virtual ~FunctionExecutor(); virtual llvm::Expected runAndMeasure(const char *Counters) const = 0; };