[AArch64] Changes missing from cfca97742723 (#90314)

This commit is contained in:
Tomas Matheson 2024-05-01 18:01:14 +01:00
parent 987c036f54
commit 6c369cf937
6 changed files with 19 additions and 0 deletions

View File

@ -130,6 +130,9 @@ add_clang_library(clangBasic
DEPENDS
omp_gen
ClangDriverOptions
# These generated headers are included transitively.
ARMTargetParserTableGen
AArch64TargetParserTableGen
)
target_link_libraries(clangBasic

View File

@ -143,6 +143,9 @@ add_clang_library(clangCodeGen
DEPENDS
intrinsics_gen
ClangDriverOptions
# These generated headers are included transitively.
ARMTargetParserTableGen
AArch64TargetParserTableGen
LINK_LIBS
clangAST

View File

@ -90,6 +90,9 @@ add_clang_library(clangDriver
DEPENDS
ClangDriverOptions
# These generated headers are included transitively.
ARMTargetParserTableGen
AArch64TargetParserTableGen
LINK_LIBS
clangBasic

View File

@ -31,6 +31,9 @@ add_clang_tool(clang
DEPENDS
intrinsics_gen
# These generated headers are included transitively.
ARMTargetParserTableGen
AArch64TargetParserTableGen
${support_plugins}
GENERATE_DRIVER
)

View File

@ -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"
}

View File

@ -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"