Flush the buffer to its file and deallocate it.
Declared in <llvm/Support/FileOutputBuffer.h>
<llvm/Support/FileOutputBuffer.h>
virtual Error commit() = 0;
If commit() is not called before this object's destructor is called, the file is deleted in the destructor.
Success, or an error if the buffer could not be written.