Writes a module to an open file descriptor. Returns 0 on success.
Writes a module to the specified path. Returns 0 on success.
Deprecated for LLVMWriteBitcodeToFD. Writes a module to an open file descriptor. Returns 0 on success. Closes the Handle.
Writes a module to a new memory buffer and returns it.