message: Use 'module' only after checking for nullptr
diff: @@ -815,6 +815,11 @@ 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!");
  +
  // In LLVM_3_4 after r195494 and r195504 revisions we should pass
  // "Debug Info Version" constant to the module. LLVM will ignore
  // our Debug Info metadata without it.
  @@ -822,11 +827,6 @@ 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) &&
  - module && 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
  