mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[gn build] Add build file for clang/lib/CodeGen and llvm/lib/ProfileData/Coverage
Differential Revision: https://reviews.llvm.org/D55931 llvm-svn: 349834
This commit is contained in:
parent
59c115d06d
commit
b77734a037
@ -1,5 +1,6 @@
|
||||
group("default") {
|
||||
deps = [
|
||||
"//clang/lib/CodeGen",
|
||||
"//clang/lib/Driver",
|
||||
"//clang/lib/Frontend",
|
||||
"//clang/lib/Frontend/Rewrite",
|
||||
|
88
utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
Normal file
88
utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
Normal file
@ -0,0 +1,88 @@
|
||||
static_library("CodeGen") {
|
||||
output_name = "clangCodeGen"
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/AST",
|
||||
"//clang/lib/Analysis",
|
||||
"//clang/lib/Basic",
|
||||
"//clang/lib/Frontend",
|
||||
"//clang/lib/Lex",
|
||||
"//llvm/lib/Analysis",
|
||||
"//llvm/lib/Bitcode/Reader",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/IRReader",
|
||||
"//llvm/lib/LTO",
|
||||
"//llvm/lib/Linker",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/Object",
|
||||
"//llvm/lib/Passes",
|
||||
"//llvm/lib/ProfileData",
|
||||
"//llvm/lib/ProfileData/Coverage",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target",
|
||||
"//llvm/lib/Transforms/Coroutines",
|
||||
"//llvm/lib/Transforms/IPO",
|
||||
"//llvm/lib/Transforms/InstCombine",
|
||||
"//llvm/lib/Transforms/Instrumentation",
|
||||
"//llvm/lib/Transforms/ObjCARC",
|
||||
"//llvm/lib/Transforms/Scalar",
|
||||
"//llvm/lib/Transforms/Utils",
|
||||
]
|
||||
sources = [
|
||||
"BackendUtil.cpp",
|
||||
"CGAtomic.cpp",
|
||||
"CGBlocks.cpp",
|
||||
"CGBuiltin.cpp",
|
||||
"CGCUDANV.cpp",
|
||||
"CGCUDARuntime.cpp",
|
||||
"CGCXX.cpp",
|
||||
"CGCXXABI.cpp",
|
||||
"CGCall.cpp",
|
||||
"CGClass.cpp",
|
||||
"CGCleanup.cpp",
|
||||
"CGCoroutine.cpp",
|
||||
"CGDebugInfo.cpp",
|
||||
"CGDecl.cpp",
|
||||
"CGDeclCXX.cpp",
|
||||
"CGException.cpp",
|
||||
"CGExpr.cpp",
|
||||
"CGExprAgg.cpp",
|
||||
"CGExprCXX.cpp",
|
||||
"CGExprComplex.cpp",
|
||||
"CGExprConstant.cpp",
|
||||
"CGExprScalar.cpp",
|
||||
"CGGPUBuiltin.cpp",
|
||||
"CGLoopInfo.cpp",
|
||||
"CGNonTrivialStruct.cpp",
|
||||
"CGObjC.cpp",
|
||||
"CGObjCGNU.cpp",
|
||||
"CGObjCMac.cpp",
|
||||
"CGObjCRuntime.cpp",
|
||||
"CGOpenCLRuntime.cpp",
|
||||
"CGOpenMPRuntime.cpp",
|
||||
"CGOpenMPRuntimeNVPTX.cpp",
|
||||
"CGRecordLayoutBuilder.cpp",
|
||||
"CGStmt.cpp",
|
||||
"CGStmtOpenMP.cpp",
|
||||
"CGVTT.cpp",
|
||||
"CGVTables.cpp",
|
||||
"CodeGenABITypes.cpp",
|
||||
"CodeGenAction.cpp",
|
||||
"CodeGenFunction.cpp",
|
||||
"CodeGenModule.cpp",
|
||||
"CodeGenPGO.cpp",
|
||||
"CodeGenTBAA.cpp",
|
||||
"CodeGenTypes.cpp",
|
||||
"ConstantInitBuilder.cpp",
|
||||
"CoverageMappingGen.cpp",
|
||||
"ItaniumCXXABI.cpp",
|
||||
"MacroPPCallbacks.cpp",
|
||||
"MicrosoftCXXABI.cpp",
|
||||
"ModuleBuilder.cpp",
|
||||
"ObjectFilePCHContainerOperations.cpp",
|
||||
"SanitizerMetadata.cpp",
|
||||
"SwiftCallingConv.cpp",
|
||||
"TargetInfo.cpp",
|
||||
"VarBypassDetector.cpp",
|
||||
]
|
||||
}
|
14
utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn
Normal file
14
utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn
Normal file
@ -0,0 +1,14 @@
|
||||
static_library("Coverage") {
|
||||
output_name = "LLVMCoverage"
|
||||
deps = [
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/Object",
|
||||
"//llvm/lib/ProfileData",
|
||||
"//llvm/lib/Support",
|
||||
]
|
||||
sources = [
|
||||
"CoverageMapping.cpp",
|
||||
"CoverageMappingReader.cpp",
|
||||
"CoverageMappingWriter.cpp",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user