]> granicus.if.org Git - llvm/commitdiff
llvm/module.modulemap: Move Support_TargetRegistry to let LLVMSupport free from MC.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 11 Oct 2017 11:08:50 +0000 (11:08 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 11 Oct 2017 11:08:50 +0000 (11:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315449 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/module.modulemap

index adbeeb51303203ea2cf07a10fdeba33efbda0ebc..1b6c7b2f8898777741c3d9b2b17a24a5ae98cb26 100644 (file)
@@ -226,12 +226,6 @@ module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
 module LLVM_MC {
   requires cplusplus
 
-  // FIXME: Mislayered?
-  module Support_TargetRegistry {
-    header "Support/TargetRegistry.h"
-    export *
-  }
-
   umbrella "MC"
   module * { export * }
 
@@ -256,6 +250,13 @@ module LLVM_ProfileData {
   textual header "ProfileData/InstrProfData.inc"
 }
 
+// FIXME: Mislayered?
+module LLVM_Support_TargetRegistry {
+  requires cplusplus
+  header "Support/TargetRegistry.h"
+  export *
+}
+
 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
 
 module LLVM_Transforms {