OSDN Git Service

Add proper headers in CFGUpdate.h and add CFGDiff.h in the list of delayed headers...
authorAlina Sbirlea <asbirlea@google.com>
Tue, 14 Aug 2018 20:49:19 +0000 (20:49 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Tue, 14 Aug 2018 20:49:19 +0000 (20:49 +0000)
Summary:
Fix module build after r339694.
Add headers needed in CFGUpdate.h.
Add CFGDiff.h in the list of delayed headers for LLVM_intrinsic_gen.
Up for post-commit review.

Subscribers: sanjoy, jlebar, llvm-commits

Differential Revision: https://reviews.llvm.org/D50734

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339724 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/CFGUpdate.h
include/llvm/module.modulemap

index f11df51..c1b1e3d 100644 (file)
 #ifndef LLVM_SUPPORT_CFGUPDATE_H
 #define LLVM_SUPPORT_CFGUPDATE_H
 
+#include "llvm/ADT/APInt.h"
+#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/PointerIntPair.h"
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 namespace cfg {
index 649cdf3..d6c133e 100644 (file)
@@ -192,6 +192,7 @@ module LLVM_intrinsic_gen {
 
   // Intrinsics.h
   module IR_CFG { header "IR/CFG.h" export * }
+  module IR_CFGDiff { header "IR/CFGDiff.h" export * }
   module IR_ConstantRange { header "IR/ConstantRange.h" export * }
   module IR_Dominators { header "IR/Dominators.h" export * }
   module Analysis_PostDominators { header "Analysis/PostDominators.h" export * }