From: Jonas Devlieghere Date: Fri, 10 Jan 2020 19:05:55 +0000 (-0800) Subject: [CMake] Fix modules build after DWARFLinker reorganization X-Git-Tag: llvmorg-11-init~405 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=815a3f54331c39f2b400776f448dd29b3b03243b;p=platform%2Fupstream%2Fllvm.git [CMake] Fix modules build after DWARFLinker reorganization Create a dedicate module for the DWARFLinker and make it depend on intrinsics gen. --- diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap index 25799b6..05de406 100644 --- a/llvm/include/llvm/module.modulemap +++ b/llvm/include/llvm/module.modulemap @@ -152,6 +152,13 @@ module LLVM_DebugInfo_CodeView { textual header "DebugInfo/CodeView/CodeViewSymbols.def" } +module LLVM_DWARFLinker { + requires cplusplus + + umbrella "DWARFLinker" + module * { export * } +} + module LLVM_ExecutionEngine { requires cplusplus diff --git a/llvm/lib/DWARFLinker/CMakeLists.txt b/llvm/lib/DWARFLinker/CMakeLists.txt index 09610f0..f8c6133 100644 --- a/llvm/lib/DWARFLinker/CMakeLists.txt +++ b/llvm/lib/DWARFLinker/CMakeLists.txt @@ -3,4 +3,6 @@ add_llvm_component_library(LLVMDWARFLinker DWARFLinkerDeclContext.cpp DWARFLinker.cpp + DEPENDS + intrinsics_gen )