From: Adrian Prantl Date: Thu, 7 Mar 2019 23:17:11 +0000 (+0000) Subject: Make GenericDomTreeConstruction textual instead. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f0bc87e438583e4d693838d8f2651e2badafc07;p=llvm Make GenericDomTreeConstruction textual instead. I think the problem is that it uses the LLVM_DEBUG macro in funciton bodies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355652 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index a226d89721b..7718250de08 100644 --- a/include/llvm/module.modulemap +++ b/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"