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 "
33 deps = [
44 " //llvm/lib/IR" ,
55 " //llvm/lib/Support" ,
66 ]
77 sources = [
8+ " CodeGenData.cpp" ,
9+ " CodeGenDataReader.cpp" ,
10+ " CodeGenDataWriter.cpp" ,
811 " OutlinedHashTree.cpp" ,
912 " OutlinedHashTreeRecord.cpp" ,
1013 ]
Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ group("test") {
265265 " //llvm/tools/llvm-c-test" ,
266266 " //llvm/tools/llvm-cat" ,
267267 " //llvm/tools/llvm-cfi-verify" ,
268+ " //llvm/tools/llvm-cgdata" ,
268269 " //llvm/tools/llvm-cov" ,
269270 " //llvm/tools/llvm-ctxprof-util" ,
270271 " //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") {
88 " BinaryFormat:BinaryFormatTests" ,
99 " Bitcode:BitcodeTests" ,
1010 " Bitstream:BitstreamTests" ,
11+ " CGData:CodeGenDataTests" ,
1112 " CodeGen:CodeGenTests" ,
1213 " CodeGen/GlobalISel:GlobalISelTests" ,
13- " CodeGenData:CodeGenDataTests" ,
1414 " DWARFLinkerParallel:DWARFLinkerParallelTests" ,
1515 " DebugInfo/BTF:DebugInfoBTFTests" ,
1616 " DebugInfo/CodeView:DebugInfoCodeViewTests" ,
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import("//third-party/unittest/unittest.gni")
22
33unittest (" CodeGenDataTests" ) {
44 deps = [
5+ " //llvm/lib/CGData" ,
56 " //llvm/lib/CodeGen" ,
6- " //llvm/lib/CodeGenData" ,
77 " //llvm/lib/IR" ,
88 " //llvm/lib/MC" ,
99 " //llvm/lib/Support" ,
You can’t perform that action at this time.
0 commit comments