mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
Add the ability to put an annotation at the end of a basic block as well.
llvm-svn: 12230
This commit is contained in:
parent
f3a838662e
commit
529e3b261d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user