[llvm] r217987 - Fixing the sanitizer build failure:
Chris Bieneman
beanz at apple.com
Wed Sep 17 15:09:38 PDT 2014
Author: cbieneman
Date: Wed Sep 17 17:09:38 2014
New Revision: 217987
URL: http://llvm.org/viewvc/llvm-project?rev=217987&view=rev
Log:
Fixing the sanitizer build failure:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/12868/steps/annotate/logs/stdio
Modified:
llvm/trunk/include/llvm/Transforms/Utils/SimplifyLibCalls.h
Modified: llvm/trunk/include/llvm/Transforms/Utils/SimplifyLibCalls.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/SimplifyLibCalls.h?rev=217987&r1=217986&r2=217987&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/SimplifyLibCalls.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/SimplifyLibCalls.h Wed Sep 17 17:09:38 2014
@@ -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
More information about the llvm-commits
mailing list