llvm.org GIT mirror llvm / de1f639
[gn build] Add build file for clang/lib/CodeGen and llvm/lib/ProfileData/Coverage Differential Revision: https://reviews.llvm.org/D55931 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349834 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Weber 9 months ago
3 changed file(s) with 103 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 group("default") {
11 deps = [
2 "//clang/lib/CodeGen",
23 "//clang/lib/Driver",
34 "//clang/lib/Frontend",
45 "//clang/lib/Frontend/Rewrite",
0 static_library("CodeGen") {
1 output_name = "clangCodeGen"
2 configs += [ "//llvm/utils/gn/build:clang_code" ]
3 deps = [
4 "//clang/lib/AST",
5 "//clang/lib/Analysis",
6 "//clang/lib/Basic",
7 "//clang/lib/Frontend",
8 "//clang/lib/Lex",
9 "//llvm/lib/Analysis",
10 "//llvm/lib/Bitcode/Reader",
11 "//llvm/lib/IR",
12 "//llvm/lib/IRReader",
13 "//llvm/lib/LTO",
14 "//llvm/lib/Linker",
15 "//llvm/lib/MC",
16 "//llvm/lib/Object",
17 "//llvm/lib/Passes",
18 "//llvm/lib/ProfileData",
19 "//llvm/lib/ProfileData/Coverage",
20 "//llvm/lib/Support",
21 "//llvm/lib/Target",
22 "//llvm/lib/Transforms/Coroutines",
23 "//llvm/lib/Transforms/IPO",
24 "//llvm/lib/Transforms/InstCombine",
25 "//llvm/lib/Transforms/Instrumentation",
26 "//llvm/lib/Transforms/ObjCARC",
27 "//llvm/lib/Transforms/Scalar",
28 "//llvm/lib/Transforms/Utils",
29 ]
30 sources = [
31 "BackendUtil.cpp",
32 "CGAtomic.cpp",
33 "CGBlocks.cpp",
34 "CGBuiltin.cpp",
35 "CGCUDANV.cpp",
36 "CGCUDARuntime.cpp",
37 "CGCXX.cpp",
38 "CGCXXABI.cpp",
39 "CGCall.cpp",
40 "CGClass.cpp",
41 "CGCleanup.cpp",
42 "CGCoroutine.cpp",
43 "CGDebugInfo.cpp",
44 "CGDecl.cpp",
45 "CGDeclCXX.cpp",
46 "CGException.cpp",
47 "CGExpr.cpp",
48 "CGExprAgg.cpp",
49 "CGExprCXX.cpp",
50 "CGExprComplex.cpp",
51 "CGExprConstant.cpp",
52 "CGExprScalar.cpp",
53 "CGGPUBuiltin.cpp",
54 "CGLoopInfo.cpp",
55 "CGNonTrivialStruct.cpp",
56 "CGObjC.cpp",
57 "CGObjCGNU.cpp",
58 "CGObjCMac.cpp",
59 "CGObjCRuntime.cpp",
60 "CGOpenCLRuntime.cpp",
61 "CGOpenMPRuntime.cpp",
62 "CGOpenMPRuntimeNVPTX.cpp",
63 "CGRecordLayoutBuilder.cpp",
64 "CGStmt.cpp",
65 "CGStmtOpenMP.cpp",
66 "CGVTT.cpp",
67 "CGVTables.cpp",
68 "CodeGenABITypes.cpp",
69 "CodeGenAction.cpp",
70 "CodeGenFunction.cpp",
71 "CodeGenModule.cpp",
72 "CodeGenPGO.cpp",
73 "CodeGenTBAA.cpp",
74 "CodeGenTypes.cpp",
75 "ConstantInitBuilder.cpp",
76 "CoverageMappingGen.cpp",
77 "ItaniumCXXABI.cpp",
78 "MacroPPCallbacks.cpp",
79 "MicrosoftCXXABI.cpp",
80 "ModuleBuilder.cpp",
81 "ObjectFilePCHContainerOperations.cpp",
82 "SanitizerMetadata.cpp",
83 "SwiftCallingConv.cpp",
84 "TargetInfo.cpp",
85 "VarBypassDetector.cpp",
86 ]
87 }
0 static_library("Coverage") {
1 output_name = "LLVMCoverage"
2 deps = [
3 "//llvm/lib/IR",
4 "//llvm/lib/Object",
5 "//llvm/lib/ProfileData",
6 "//llvm/lib/Support",
7 ]
8 sources = [
9 "CoverageMapping.cpp",
10 "CoverageMappingReader.cpp",
11 "CoverageMappingWriter.cpp",
12 ]
13 }