llvm_hiwrap.llvm_io

Members

Functions

dumpToFile
void dumpToFile(Module m, string file)

Dump a representation of the module to stderr.

dumpToStdout
void dumpToStdout(Module m)

Dump a representation of the module to stderr.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file contains wrappers that uses LLVM's API for IO. These are generally not needed because D's stdlib provide more than adequate functionality for IO.

These functions are mostly for debugging purpose. To conveniently be able to compare the output from LLVM with those in llvm_hiwrap.io.