diff options
author | Daniel Jasper <djasper@google.com> | 2013-09-11 12:28:15 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-09-11 12:28:15 +0000 |
commit | a81787d0182ee8d4f430d509322281acdf77391d (patch) | |
tree | c46d3995b9d2ab2f84d5ec94e8a4a51e339a82b9 /lib/sanitizer_common/sanitizer_symbolizer.h | |
parent | cac631e3a63ec6c8a74008fe358af9c4b2306582 (diff) |
Add empty virtual destructor...
... as this otherwise triggers -Wnon-virtual-dtor.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_symbolizer.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_symbolizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_symbolizer.h b/lib/sanitizer_common/sanitizer_symbolizer.h index 383e1d4ac..157b41e2d 100644 --- a/lib/sanitizer_common/sanitizer_symbolizer.h +++ b/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. |