Must be called exactly once after the writes to OS have been completed but before the CachedFileStream object is destroyed.
Declared in <llvm/Support/Caching.h>
<llvm/Support/Caching.h>
virtual Error commit();
Success, or an error if commit was already called.