File tree Expand file tree Collapse file tree 5 files changed +20
-4
lines changed
llvm/utils/gn/secondary/llvm Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1
- static_library (" CodeGenData " ) {
2
- output_name = " LLVMCodeGenData "
1
+ static_library (" CGData " ) {
2
+ output_name = " LLVMCGData "
3
3
deps = [
4
4
" //llvm/lib/IR" ,
5
5
" //llvm/lib/Support" ,
6
6
]
7
7
sources = [
8
+ " CodeGenData.cpp" ,
9
+ " CodeGenDataReader.cpp" ,
10
+ " CodeGenDataWriter.cpp" ,
8
11
" OutlinedHashTree.cpp" ,
9
12
" OutlinedHashTreeRecord.cpp" ,
10
13
]
Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ group("test") {
265
265
" //llvm/tools/llvm-c-test" ,
266
266
" //llvm/tools/llvm-cat" ,
267
267
" //llvm/tools/llvm-cfi-verify" ,
268
+ " //llvm/tools/llvm-cgdata" ,
268
269
" //llvm/tools/llvm-cov" ,
269
270
" //llvm/tools/llvm-ctxprof-util" ,
270
271
" //llvm/tools/llvm-cvtres" ,
Original file line number Diff line number Diff line change
1
+ import (" //llvm/utils/gn/build/driver_executable.gni" )
2
+
3
+ driver_executable (" llvm-cgdata" ) {
4
+ deps = [
5
+ " //llvm/lib/CGData" ,
6
+ " //llvm/lib/CodeGen" ,
7
+ " //llvm/lib/IR" ,
8
+ " //llvm/lib/Object" ,
9
+ " //llvm/lib/Support" ,
10
+ ]
11
+ sources = [ " llvm-cgdata.cpp" ]
12
+ }
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ group("unittests") {
8
8
" BinaryFormat:BinaryFormatTests" ,
9
9
" Bitcode:BitcodeTests" ,
10
10
" Bitstream:BitstreamTests" ,
11
+ " CGData:CodeGenDataTests" ,
11
12
" CodeGen:CodeGenTests" ,
12
13
" CodeGen/GlobalISel:GlobalISelTests" ,
13
- " CodeGenData:CodeGenDataTests" ,
14
14
" DWARFLinkerParallel:DWARFLinkerParallelTests" ,
15
15
" DebugInfo/BTF:DebugInfoBTFTests" ,
16
16
" DebugInfo/CodeView:DebugInfoCodeViewTests" ,
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import("//third-party/unittest/unittest.gni")
2
2
3
3
unittest (" CodeGenDataTests" ) {
4
4
deps = [
5
+ " //llvm/lib/CGData" ,
5
6
" //llvm/lib/CodeGen" ,
6
- " //llvm/lib/CodeGenData" ,
7
7
" //llvm/lib/IR" ,
8
8
" //llvm/lib/MC" ,
9
9
" //llvm/lib/Support" ,
You can’t perform that action at this time.
0 commit comments