llvm-exegesis: mark ~ExegesisTarget() as virtual. Fixes build.
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 19 Jun 2018 11:58:10 +0000 (11:58 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 19 Jun 2018 11:58:10 +0000 (11:58 +0000)
commit3de9664494777f30c1c50f8a8c9cb9b914b476fa
treeed736608e6b3f45b6c5fb9f3fa1816bbac5bb36f
parent44b4c54e2698657d57ffcbbd9c26cb88c1a2cce9
llvm-exegesis: mark ~ExegesisTarget() as virtual. Fixes build.

/build/llvm/tools/llvm-exegesis/lib/X86/../Target.h:32:3: error: 'exegesis::ExegesisTarget' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  ~ExegesisTarget();
  ^
/build/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:15:7: error: 'exegesis::(anonymous namespace)::ExegesisX86Target' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
class ExegesisX86Target : public ExegesisTarget {
      ^

llvm-svn: 335042
llvm/tools/llvm-exegesis/lib/Target.h