[Lldb-commits] [PATCH] D19998: Add a "-gmodules" category to the test suite.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Tue May 24 16:25:17 PDT 2016

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
          # 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


More information about the lldb-commits mailing list