Method Dump
Dump(MemoryBuffer)
Dumps a single memory buffer as an object file
public void Dump(MemoryBuffer objBuffer)
Parameters
objBuffer
MemoryBufferBuffer for the object file to dump
Remarks
This will write the object file using the parameters provided in construction of this instance.
important
It is important to note that the provided buffer is destroyed on exceptions (errors from LLVM interop). Under normal conditions the buffer ownership remains with the caller. Either way the caller can (and should) call Dispose() [usually, via a using statement of some sort] However, other methods are NOT guaranteed to function properly unless there is no exception.