[PATCH] D75091: [modulemap] Speculative fix for macro collision with sys/param.h

Raphael “Teemperor” Isemann via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 10:49:25 PST 2020


Can you post the error message? I assume another module is importing this header too that has the macro around.

Also could you try adding -fmodules-local-submodule-visibility  and see if that passes the invocation?

> On Feb 25, 2020, at 7:46 PM, Vedant Kumar via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> vsk added a comment.
> 
> I disabled the bot and ran ninja in the lldb-cmake workspace directly: I could reproduce the problem this way. Neither `exclude header "Target/X86/X86GenInstrInfo.inc"` nor `exclude textual "Target/X86/X86GenInstrInfo.inc"` addressed the issue. I'm really not sure how to fix this now, other than maybe adding `#undef FSCALE` to X86MCTargetDesc.h.
> 
> 
> CHANGES SINCE LAST ACTION
>  https://reviews.llvm.org/D75091/new/
> 
> https://reviews.llvm.org/D75091
> 
> 
> 



More information about the llvm-commits mailing list