message: Better fix for checking 'module' for non-null
diff: @@ -815,10 +815,7 @@ bool Module::writeOutput(OutputType outputType, OutputFlags flags, const char *o
  if (diBuilder && (outputType != Header) && (outputType != Deps))
  lStripUnusedDebugInfo(module);
  - // SIC! (verifyModule() == TRUE) means "failed", see llvm-link code.
  - if ((outputType != Header) && (outputType != Deps) && (outputType != HostStub) && (outputType != DevStub) &&
  - module && llvm::verifyModule(*module))
  - FATAL("Resulting module verification failed!");
  + Assert(module);
  // In LLVM_3_4 after r195494 and r195504 revisions we should pass
  // "Debug Info Version" constant to the module. LLVM will ignore
  @@ -827,6 +824,12 @@ bool Module::writeOutput(OutputType outputType, OutputFlags flags, const char *o
  module->addModuleFlag(llvm::Module::Warning, "Debug Info Version", llvm::DEBUG_METADATA_VERSION);
  }
  + // SIC! (verifyModule() == TRUE) means "failed", see llvm-link code.
  + if ((outputType != Header) && (outputType != Deps) && (outputType != HostStub) && (outputType != DevStub) &&
  + llvm::verifyModule(*module)) {
  + FATAL("Resulting module verification failed!");
  + }
  +
  if (outFileName) {
  // First, issue a warning if the output file suffix and the type of
  // file being created seem to mismatch. This can help catch missing
  