diff options
author | Tomas Matheson <tomas.matheson@arm.com> | 2024-05-01 18:01:14 +0100 |
---|---|---|
committer | Tomas Matheson <tomas.matheson@arm.com> | 2024-05-01 18:01:14 +0100 |
commit | 6c369cf937b7d9acb98a1fc46b1340cef7703e12 (patch) | |
tree | 2e53c2ecc82028e0181e9c8addc911642f8a600c | |
parent | 987c036f5413a94aab58bd5e27b653f740a5f7e2 (diff) | |
download | llvm-6c369cf937b7d9acb98a1fc46b1340cef7703e12.zip llvm-6c369cf937b7d9acb98a1fc46b1340cef7703e12.tar.gz llvm-6c369cf937b7d9acb98a1fc46b1340cef7703e12.tar.bz2 |
[AArch64] Changes missing from cfca97742723 (#90314)
-rw-r--r-- | clang/lib/Basic/CMakeLists.txt | 3 | ||||
-rw-r--r-- | clang/lib/CodeGen/CMakeLists.txt | 3 | ||||
-rw-r--r-- | clang/lib/Driver/CMakeLists.txt | 3 | ||||
-rw-r--r-- | clang/tools/driver/CMakeLists.txt | 3 | ||||
-rw-r--r-- | llvm/include/module.install.modulemap | 2 | ||||
-rw-r--r-- | llvm/include/module.modulemap | 5 |
6 files changed, 19 insertions, 0 deletions
diff --git a/clang/lib/Basic/CMakeLists.txt b/clang/lib/Basic/CMakeLists.txt index 2e218ba..824d4a0 100644 --- a/clang/lib/Basic/CMakeLists.txt +++ b/clang/lib/Basic/CMakeLists.txt @@ -130,6 +130,9 @@ add_clang_library(clangBasic DEPENDS omp_gen ClangDriverOptions + # These generated headers are included transitively. + ARMTargetParserTableGen + AArch64TargetParserTableGen ) target_link_libraries(clangBasic diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt index 52216d9..7a933d0 100644 --- a/clang/lib/CodeGen/CMakeLists.txt +++ b/clang/lib/CodeGen/CMakeLists.txt @@ -143,6 +143,9 @@ add_clang_library(clangCodeGen DEPENDS intrinsics_gen ClangDriverOptions + # These generated headers are included transitively. + ARMTargetParserTableGen + AArch64TargetParserTableGen LINK_LIBS clangAST diff --git a/clang/lib/Driver/CMakeLists.txt b/clang/lib/Driver/CMakeLists.txt index 58427e3..32a4378 100644 --- a/clang/lib/Driver/CMakeLists.txt +++ b/clang/lib/Driver/CMakeLists.txt @@ -90,6 +90,9 @@ add_clang_library(clangDriver DEPENDS ClangDriverOptions + # These generated headers are included transitively. + ARMTargetParserTableGen + AArch64TargetParserTableGen LINK_LIBS clangBasic diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt index d70b92b..290bf2a 100644 --- a/clang/tools/driver/CMakeLists.txt +++ b/clang/tools/driver/CMakeLists.txt @@ -31,6 +31,9 @@ add_clang_tool(clang DEPENDS intrinsics_gen + # These generated headers are included transitively. + ARMTargetParserTableGen + AArch64TargetParserTableGen ${support_plugins} GENERATE_DRIVER ) diff --git a/llvm/include/module.install.modulemap b/llvm/include/module.install.modulemap index f730283..b917cdd 100644 --- a/llvm/include/module.install.modulemap +++ b/llvm/include/module.install.modulemap @@ -31,5 +31,7 @@ module LLVM_Extern_Utils_DataTypes { } module LLVM_Extern_TargetParser_Gen { + textual header "llvm/TargetParser/ARMTargetParserDef.inc" + textual header "llvm/TargetParser/AArch64TargetParserDef.inc" textual header "llvm/TargetParser/RISCVTargetParserDef.inc" } diff --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap index e60e03a2..b00da6d 100644 --- a/llvm/include/module.modulemap +++ b/llvm/include/module.modulemap @@ -345,6 +345,11 @@ extern module LLVM_Extern_Utils_DataTypes "module.extern.modulemap" // Build the module with the tablegen-generated files needed by the // TargetParser module before building the TargetParser module itself. module TargetParserGen { + module AArch64TargetParserDef { + header "llvm/TargetParser/AArch64TargetParser.h" + extern module LLVM_Extern_TargetParser_Gen "module.extern.modulemap" + export * + } module RISCVTargetParserDef { header "llvm/TargetParser/RISCVTargetParser.h" extern module LLVM_Extern_TargetParser_Gen "module.extern.modulemap" |