diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-02 21:13:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-02 21:13:45 +0000 |
commit | dc095240c9016a7957a1976f6b1c0266b648f9d0 (patch) | |
tree | 3b1ae2e8a28ef7240cfea53020dda2c2dc7a32ab | |
parent | f514d51b208cff16f750e6a11cc6eb652f1a23d3 (diff) |
Add comment about ownership semantics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4859 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 0440cccdc5..0e80d4718a 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -97,7 +97,8 @@ public: /// get machine code emitted. This uses a MAchineCodeEmitter object to handle /// actually outputting the machine code and resolving things like the address /// of functions. This method should returns true if machine code emission is - /// not supported. + /// not supported. The ownership of the MCE is not transfered to the backend + /// pass... the caller of this method should delete it. /// virtual bool addPassesToEmitMachineCode(PassManager &PM, MachineCodeEmitter *MCE) { |