[compiler-rt] r190520 - Add empty virtual destructor...

Daniel Jasper djasper at google.com
Wed Sep 11 05:28:15 PDT 2013


Author: djasper
Date: Wed Sep 11 07:28:15 2013
New Revision: 190520

URL: http://llvm.org/viewvc/llvm-project?rev=190520&view=rev
Log:
Add empty virtual destructor...

... as this otherwise triggers -Wnon-virtual-dtor.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h?rev=190520&r1=190519&r2=190520&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h Wed Sep 11 07:28:15 2013
@@ -71,6 +71,8 @@ struct DataInfo {
 
 class SymbolizerInterface {
  public:
+  virtual ~SymbolizerInterface() {}
+
   // Fills at most "max_frames" elements of "frames" with descriptions
   // for a given address (in all inlined functions). Returns the number
   // of descriptions actually filled.





More information about the llvm-commits mailing list