aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-09-11 12:28:15 +0000
committerDaniel Jasper <djasper@google.com>2013-09-11 12:28:15 +0000
commit2b3f143f23de6d56ef8f38044ab79d56e9f592ac (patch)
treee6a52095dbac9c5bbf902f6cb2219dd2d6d3a5c1 /compiler-rt
parent9e649af004b2033c6dd802c80fc1b889f066c9ad (diff)
downloadllvm-2b3f143f23de6d56ef8f38044ab79d56e9f592ac.zip
llvm-2b3f143f23de6d56ef8f38044ab79d56e9f592ac.tar.gz
llvm-2b3f143f23de6d56ef8f38044ab79d56e9f592ac.tar.bz2
Add empty virtual destructor...
... as this otherwise triggers -Wnon-virtual-dtor. llvm-svn: 190520
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
index 383e1d4..157b41e 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
@@ -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.