summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Assembly/AsmAnnotationWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Assembly/AsmAnnotationWriter.h')
-rw-r--r--llvm/include/llvm/Assembly/AsmAnnotationWriter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Assembly/AsmAnnotationWriter.h b/llvm/include/llvm/Assembly/AsmAnnotationWriter.h
index 7f9556b7101..9ed285a1afb 100644
--- a/llvm/include/llvm/Assembly/AsmAnnotationWriter.h
+++ b/llvm/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) {}
OpenPOWER on IntegriCloud