llvm-ffi-3.2.0: FFI bindings to the LLVM compiler toolkit.
LLVM.FFI.BitWriter
type CInt = CInt Source
writeBitcodeToFile :: ModuleRef -> CString -> IO CInt Source
writeBitcodeToFileHandle :: ModuleRef -> CInt -> IO CInt Source
writeBitcodeToFD :: ModuleRef -> CInt -> CInt -> CInt -> IO CInt Source