aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Assembly/AsmAnnotationWriter.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/llvm/Assembly/AsmAnnotationWriter.h b/include/llvm/Assembly/AsmAnnotationWriter.h
index 3beda6df03..4700273b84 100644
--- a/include/llvm/Assembly/AsmAnnotationWriter.h
+++ b/include/llvm/Assembly/AsmAnnotationWriter.h
@@ -31,9 +31,15 @@ struct AssemblyAnnotationWriter {
// the start of a function.
virtual void emitFunctionAnnot(const Function *F, std::ostream &OS) {}
- // emitBasicBlockAnnot - This may be implemented to emit a string right after
- // the basic block label, but before the first instruction in the block.
- virtual void emitBasicBlockAnnot(const BasicBlock *BB, std::ostream &OS) {}
+ // emitBasicBlockStartAnnot - This may be implemented to emit a string right
+ // after the basic block label, but before the first instruction in the block.
+ virtual void emitBasicBlockStartAnnot(const BasicBlock *BB, std::ostream &OS){
+ }
+
+ // emitBasicBlockEndAnnot - This may be implemented to emit a string right
+ // after the basic block.
+ virtual void emitBasicBlockEndAnnot(const BasicBlock *BB, std::ostream &OS){
+ }
// emitInstructionAnnot - This may be implemented to emit a string right
// before an instruction is emitted.