[llvm] r306002 - [Solaris] replace Solaris.h hack with a set of better hacks

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 13:16:10 PDT 2017


On Thu, Jun 22, 2017 at 12:55:04PM -0700, via llvm-commits wrote:
> Here’s a patch. Does it look fine to you?
> 
> diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap
> index 2557f5fa970..dd419e86131 100644
> --- a/include/llvm/module.modulemap
> +++ b/include/llvm/module.modulemap
> @@ -275,8 +275,9 @@ module LLVM_Utils {
>      umbrella "Support"
>      module * { export * }
>  
> -    // Exclude this; it's fundamentally non-modular.
> +    // Exclude these; they are fundamentally non-modular.
>      exclude header "Support/PluginLoader.h"
> +    exclude header "Support/Solaris/sys/regset.h"
>  
>      // These are intended for textual inclusion.
>      textual header "Support/ARMTargetParser.def”

Sounds correct.

Joerg


More information about the llvm-commits mailing list