[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 DEPENDS
omp_gen omp_gen
ClangDriverOptions ClangDriverOptions
# These generated headers are included transitively.
ARMTargetParserTableGen
AArch64TargetParserTableGen
) )
target_link_libraries(clangBasic target_link_libraries(clangBasic

View File

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

View File

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

View File

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

View File

@ -31,5 +31,7 @@ module LLVM_Extern_Utils_DataTypes {
} }
module LLVM_Extern_TargetParser_Gen { module LLVM_Extern_TargetParser_Gen {
textual header "llvm/TargetParser/ARMTargetParserDef.inc"
textual header "llvm/TargetParser/AArch64TargetParserDef.inc"
textual header "llvm/TargetParser/RISCVTargetParserDef.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 // Build the module with the tablegen-generated files needed by the
// TargetParser module before building the TargetParser module itself. // TargetParser module before building the TargetParser module itself.
module TargetParserGen { module TargetParserGen {
module AArch64TargetParserDef {
header "llvm/TargetParser/AArch64TargetParser.h"
extern module LLVM_Extern_TargetParser_Gen "module.extern.modulemap"
export *
}
module RISCVTargetParserDef { module RISCVTargetParserDef {
header "llvm/TargetParser/RISCVTargetParser.h" header "llvm/TargetParser/RISCVTargetParser.h"
extern module LLVM_Extern_TargetParser_Gen "module.extern.modulemap" extern module LLVM_Extern_TargetParser_Gen "module.extern.modulemap"