From 1d1ff88b727bcea742e0aa6e89dae9ac87006e84 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 7 Mar 2019 23:17:11 +0000 Subject: [PATCH] Make GenericDomTreeConstruction textual instead. I think the problem is that it uses the LLVM_DEBUG macro in funciton bodies. llvm-svn: 355652 --- llvm/include/llvm/module.modulemap | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap index a226d89721b8..7718250de082 100644 --- a/llvm/include/llvm/module.modulemap +++ b/llvm/include/llvm/module.modulemap @@ -353,9 +353,8 @@ module LLVM_Utils { exclude header "Support/PluginLoader.h" exclude header "Support/Solaris/sys/regset.h" - // FIXME: The function bodies in this header pull in - // unwanted dependencies that cause linker errors. - exclude header "Support/GenericDomTreeConstruction.h" + // This header uses the LLVM_DEBUG macro in function bodies. + textual header "Support/GenericDomTreeConstruction.h" // These are intended for textual inclusion. textual header "Support/ARMTargetParser.def"