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

Raphael Isemann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 03:49:01 PST 2020


teemperor added a comment.

Are you using the same SDK version as the build machine? This seems to me like (yet another) no-submodule-local-visibility issue. X86GenInstrInfo.inc has no includes and should be fully isolated, but it seems one of the previous headers in LLVM_Backend_Target is pulling in the module for param.h and so we get that macro in here. Maybe whatever SDK you are using is not making the param.h submodule visible in the LLVM_Backend_Target implementation so that's why we survive the build on your machine.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75091/new/

https://reviews.llvm.org/D75091





More information about the llvm-commits mailing list