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