[llvm] r344721 - [llvm-exegesis] Mark destructor virtual after r344695
Krasimir Georgiev via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 17 19:06:16 PDT 2018
Author: krasimir
Date: Wed Oct 17 19:06:16 2018
New Revision: 344721
URL: http://llvm.org/viewvc/llvm-project?rev=344721&view=rev
Log:
[llvm-exegesis] Mark destructor virtual after r344695
This was causing a -Wnon-virtual-dtor warning.
Modified:
llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h
Modified: llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h?rev=344721&r1=344720&r2=344721&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h Wed Oct 17 19:06:16 2018
@@ -68,7 +68,7 @@ public:
// context.
class FunctionExecutor {
public:
- ~FunctionExecutor();
+ virtual ~FunctionExecutor();
virtual llvm::Expected<int64_t>
runAndMeasure(const char *Counters) const = 0;
};
More information about the llvm-commits
mailing list