Commits

John McCall committed 06c65464cfc
Don't crash if an error is emitted by Clang IR-generation. Clang IR-generation can fail. When it does this, it destroys the module. Previously, we were blithely assuming this couldn't happen, and so we would crash on the deallocated module. Delay the finalization of the Clang code generator until our own module finalization, which is a more appropriate place for it anyway, and then just bail out of the last few steps if Clang fails.