mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add a comment noting the memory ownership rules.
llvm-svn: 80827
This commit is contained in:
parent
1efdd727b3
commit
55db099330
@ -51,7 +51,8 @@ Module *ParseAssemblyString(
|
|||||||
|
|
||||||
/// This function is the low-level interface to the LLVM Assembly Parser.
|
/// This function is the low-level interface to the LLVM Assembly Parser.
|
||||||
/// ParseAssemblyFile and ParseAssemblyString are wrappers around this function.
|
/// 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(
|
Module *ParseAssembly(
|
||||||
MemoryBuffer *F, ///< The MemoryBuffer containing assembly
|
MemoryBuffer *F, ///< The MemoryBuffer containing assembly
|
||||||
const std::string &Name, ///< The name of the original source file
|
const std::string &Name, ///< The name of the original source file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user