mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-05 19:29:54 +00:00
Add a comment noting the memory ownership rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80827 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87750fcfc8
commit
5c4e17c5ec
@ -51,7 +51,8 @@ Module *ParseAssemblyString(
|
||||
|
||||
/// This function is the low-level interface to the LLVM Assembly Parser.
|
||||
/// ParseAssemblyFile and ParseAssemblyString are wrappers around this function.
|
||||
/// @brief Parse LLVM Assembly from a MemoryBuffer.
|
||||
/// @brief Parse LLVM Assembly from a MemoryBuffer. This function *always*
|
||||
/// takes ownership of the MemoryBuffer.
|
||||
Module *ParseAssembly(
|
||||
MemoryBuffer *F, ///< The MemoryBuffer containing assembly
|
||||
const std::string &Name, ///< The name of the original source file
|
||||
|
Loading…
Reference in New Issue
Block a user