[llvm-c] Add LLVMPrintModuleToString.
authorAnders Waldenborg <anders@0x63.nu>
Wed, 16 Oct 2013 18:00:54 +0000 (18:00 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Wed, 16 Oct 2013 18:00:54 +0000 (18:00 +0000)
commit2906b519d1f47f1b269ed1be9c70f752b3dca928
treebda283465c17ed6f3941e8a54c1b29a7b25f17c9
parentfc1604ec7274e9b724ff9b2512c288a691167427
[llvm-c] Add LLVMPrintModuleToString.

Like LLVMDumpModule but returns the string (that needs to be freed
with LLVMDisposeMessage) instead of printing it to stderr.

Differential Revision: http://llvm-reviews.chandlerc.com/D1941

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192821 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
lib/IR/Core.cpp