[llvm] r349834 - [gn build] Add build file for clang/lib/CodeGen and llvm/lib/ProfileData/Coverage
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 20 13:56:17 PST 2018
Author: nico
Date: Thu Dec 20 13:56:16 2018
New Revision: 349834
URL: http://llvm.org/viewvc/llvm-project?rev=349834&view=rev
Log:
[gn build] Add build file for clang/lib/CodeGen and llvm/lib/ProfileData/Coverage
Differential Revision: https://reviews.llvm.org/D55931
Added:
llvm/trunk/utils/gn/secondary/clang/lib/CodeGen/
llvm/trunk/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/ProfileData/Coverage/
llvm/trunk/utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn
Modified:
llvm/trunk/utils/gn/secondary/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/BUILD.gn?rev=349834&r1=349833&r2=349834&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/BUILD.gn Thu Dec 20 13:56:16 2018
@@ -1,5 +1,6 @@
group("default") {
deps = [
+ "//clang/lib/CodeGen",
"//clang/lib/Driver",
"//clang/lib/Frontend",
"//clang/lib/Frontend/Rewrite",
Added: llvm/trunk/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn?rev=349834&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn Thu Dec 20 13:56:16 2018
@@ -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",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn?rev=349834&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/ProfileData/Coverage/BUILD.gn Thu Dec 20 13:56:16 2018
@@ -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",
+ ]
+}
More information about the llvm-commits
mailing list