Index: bolt/include/bolt/Core/BinaryDomTree.h =================================================================== --- bolt/include/bolt/Core/BinaryDomTree.h +++ bolt/include/bolt/Core/BinaryDomTree.h @@ -14,6 +14,8 @@ #ifndef BOLT_CORE_BINARY_DOMTREE_H #define BOLT_CORE_BINARY_DOMTREE_H +#include "bolt/Core/BinaryBasicBlock.h" +#include "llvm/IR/Dominators.h" #include "llvm/Support/GenericDomTreeConstruction.h" namespace llvm { Index: bolt/include/bolt/Passes/RegReAssign.h =================================================================== --- bolt/include/bolt/Passes/RegReAssign.h +++ bolt/include/bolt/Passes/RegReAssign.h @@ -9,6 +9,7 @@ #ifndef BOLT_PASSES_REGREASSIGN_H #define BOLT_PASSES_REGREASSIGN_H +#include "bolt/Passes/BinaryFunctionCallGraph.h" #include "bolt/Passes/BinaryPasses.h" #include "bolt/Passes/RegAnalysis.h" Index: utils/bazel/llvm-project-overlay/bolt/BUILD.bazel =================================================================== --- utils/bazel/llvm-project-overlay/bolt/BUILD.bazel +++ utils/bazel/llvm-project-overlay/bolt/BUILD.bazel @@ -253,6 +253,7 @@ "//llvm:MCParser", "//llvm:Object", "//llvm:Support", + "//llvm:ir_headers", ], )