diff options
author | Hans Wennborg <hans@hanshq.net> | 2012-05-09 16:54:17 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2012-05-09 16:54:17 +0000 |
commit | 5c87b4958d1a5dabf2400be5b3a86aed4f82db91 (patch) | |
tree | 7f230e3ce8b2d019ec19c0184c023d49921d143f /lib/Support/Triple.cpp | |
parent | 30759542aa820b9fc74c77bfa3c011cb0a106ef9 (diff) |
Introduce llvm-c function LLVMPrintModuleToFile.
This lets you save the textual representation of the LLVM IR to a file.
Before this patch it could only be printed to STDERR from llvm-c.
Patch by Carlo Kok!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions