aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Assembly/AsmAnnotationWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly/AsmAnnotationWriter.h')
-rw-r--r--include/llvm/Assembly/AsmAnnotationWriter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Assembly/AsmAnnotationWriter.h b/include/llvm/Assembly/AsmAnnotationWriter.h
index 7f9556b710..9ed285a1af 100644
--- a/include/llvm/Assembly/AsmAnnotationWriter.h
+++ b/include/llvm/Assembly/AsmAnnotationWriter.h
@@ -27,6 +27,8 @@ class Instruction;
struct AssemblyAnnotationWriter {
+ virtual ~AssemblyAnnotationWriter();
+
// emitFunctionAnnot - This may be implemented to emit a string right before
// the start of a function.
virtual void emitFunctionAnnot(const Function *F, std::ostream &OS) {}