From 0a1dc0d78f746ae8553982ae0590a6a9b3577bc2 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Wed, 17 Sep 2014 22:09:38 +0000 Subject: [PATCH] Fixing the sanitizer build failure: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/12868/steps/annotate/logs/stdio git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217987 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/SimplifyLibCalls.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Transforms/Utils/SimplifyLibCalls.h b/include/llvm/Transforms/Utils/SimplifyLibCalls.h index 20c1cafc0f3..c7f5bb026c6 100644 --- a/include/llvm/Transforms/Utils/SimplifyLibCalls.h +++ b/include/llvm/Transforms/Utils/SimplifyLibCalls.h @@ -40,6 +40,10 @@ public: LibCallSimplifier(const DataLayout *TD, const TargetLibraryInfo *TLI, bool UnsafeFPShrink); + /// ~LibCallSimplifier - Adding the virtual destructor back in to satisfy + /// -Wnon-virtual-dtor. This class is used polymorphically by InstCombine. + virtual ~LibCallSimplifier() {} + /// optimizeCall - Take the given call instruction and return a more /// optimal value to replace the instruction with or 0 if a more /// optimal form can't be found. Note that the returned value may