{-# LINE 1 "LLVM/FFI/AssemblyReader.hsc" #-}
{-# LANGUAGE CPP, ForeignFunctionInterface, EmptyDataDecls #-}
{-# LINE 2 "LLVM/FFI/AssemblyReader.hsc" #-}

module LLVM.FFI.AssemblyReader where
import Foreign.C.String(CString)

{-# LINE 6 "LLVM/FFI/AssemblyReader.hsc" #-}
import Foreign.C.Types(CInt(..))

{-# LINE 10 "LLVM/FFI/AssemblyReader.hsc" #-}
import Foreign.Ptr(Ptr)

import LLVM.FFI.Core

foreign import ccall unsafe "LLVMGetModuleFromAssembly" getModuleFromAssembly
    :: CString -> CInt -> Ptr CString -> IO ModuleRef