tfiala added a comment.

F1982070: gmodules-test-support-v6.diff <http://reviews.llvm.org/F1982070>

Updated gmodules.is_compiler_clang_with_gmodules() to guard on Windows with:

  def _gmodules_supported_internal():
      compiler = os.path.basename(compiler_path)
      if "clang" not in compiler:
          return False
      elif os.name == "nt":
          # gmodules support is broken on Windows
          return False
      else:
          # Check the compiler help for the -gmodules option.
          clang_help = os.popen("%s --help" % compiler_path).read()
          return GMODULES_HELP_REGEX.search(clang_help, re.DOTALL) is not None


http://reviews.llvm.org/D19998



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to