writeModule

Write a LLVM module to the file.

The function seems silly. It is mostly for self documenting purpose.

NOTE: The file extension should be ".bc". NOTE: I have confirmed that this function produces the same output as if LLVMWriteBitcodeToFile is called. See the unittests further down.

void
writeModule
(
File f
,
ref Module m
)

Meta