[all-commits] [llvm/llvm-project] 5405c2: [llvm][Support][modulemap] Exclude WindowsSupport....

Michael Spencer via All-commits all-commits at lists.llvm.org
Mon Mar 2 01:02:54 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 5405c262a4abec1a9cf0b8b89aabbf529209262a
      https://github.com/llvm/llvm-project/commit/5405c262a4abec1a9cf0b8b89aabbf529209262a
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M llvm/include/llvm/module.modulemap

  Log Message:
  -----------
  [llvm][Support][modulemap] Exclude WindowsSupport.h from the LLVM_Util module

rG01f9abbb50b1 moved WindowsSupport.h to include/llvm/Support/Windows/

This is a problem because the modulemap include all of the Support and
ADT directories, thus any use of any header in Support or ADT would
cause the compiler to try to build WindowsSupport.h, which only works
on Windows.

Fix this by explicitly excluding WindowsSupport.h from the LLVM_Util
module.

(cherry picked from commit 0b6abe428164c38c7dec6c539e454cfd671067a4)




More information about the All-commits mailing list