[llvm-commits] [PATCH] llvm-c dump IL to file
Hans Wennborg
hans at chromium.org
Wed May 9 06:12:48 PDT 2012
On Tue, May 8, 2012 at 8:51 PM, Carlo Kok <ck at remobjects.com> wrote:
> This copy pattern is used pretty much through all of llvm-c. The caller
> would then have to call LLVMDisposeMessage to get rid of the memory.
Yup, that's the way I understand it too.
Just one more thing I came to think of: it would be great if the
comment in the header file could mention what the return values from
LLVMPrintModuleToFile mean.
I'd be happy to land this for you unless someone has additional comments.
Thanks,
Hans
More information about the llvm-commits
mailing list