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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Tue May 24 16:39:54 PDT 2016


zturner added a comment.

In http://reviews.llvm.org/D19998#438586, @tfiala wrote:

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


So I asked some of the guys here, and they said modules debug info (in particular -gmodules) will not work anywhere but OSX.


http://reviews.llvm.org/D19998





More information about the lldb-commits mailing list