llvm.org GIT mirror llvm / 7063fde
[gn build] Add some llvm/tools: llvm-xray, sancov, sanstats, verify-uselistorder, yaml-bench Also add build file for dependency llvm/lib/XRay. Needed for check-llvm. (yaml-bench is an llvm/util, not an llvm/tool.) Differential Revision: https://reviews.llvm.org/D56163 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350211 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Weber 9 months ago
7 changed file(s) with 99 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1010 "//llvm/tools/llvm-rc",
1111 "//llvm/tools/llvm-rtdyld",
1212 "//llvm/tools/llvm-undname",
13 "//llvm/tools/llvm-xray",
14 "//llvm/tools/sancov",
15 "//llvm/tools/sanstats",
16 "//llvm/tools/verify-uselistorder",
17 "//llvm/utils/yaml-bench",
1318 ]
1419 if (clang_enable_arcmt) {
1520 deps += [
0 static_library("XRay") {
1 output_name = "LLVMXRay"
2 deps = [
3 "//llvm/lib/Object",
4 "//llvm/lib/Support",
5 ]
6 sources = [
7 "BlockIndexer.cpp",
8 "BlockPrinter.cpp",
9 "BlockVerifier.cpp",
10 "FDRRecordProducer.cpp",
11 "FDRRecords.cpp",
12 "FDRTraceExpander.cpp",
13 "FDRTraceWriter.cpp",
14 "FileHeaderReader.cpp",
15 "InstrumentationMap.cpp",
16 "LogBuilderConsumer.cpp",
17 "Profile.cpp",
18 "RecordInitializer.cpp",
19 "RecordPrinter.cpp",
20 "Trace.cpp",
21 ]
22 }
0 executable("llvm-xray") {
1 deps = [
2 "//llvm/lib/DebugInfo/DWARF",
3 "//llvm/lib/DebugInfo/Symbolize",
4 "//llvm/lib/Object",
5 "//llvm/lib/Support",
6 "//llvm/lib/Target:TargetsToBuild",
7 "//llvm/lib/XRay",
8 ]
9 sources = [
10 "func-id-helper.cpp",
11 "llvm-xray.cpp",
12 "xray-account.cpp",
13 "xray-color-helper.cpp",
14 "xray-converter.cpp",
15 "xray-extract.cpp",
16 "xray-fdr-dump.cpp",
17 "xray-graph-diff.cpp",
18 "xray-graph.cpp",
19 "xray-registry.cpp",
20 "xray-stacks.cpp",
21 ]
22 }
0 executable("sancov") {
1 deps = [
2 "//llvm/lib/DebugInfo/DWARF",
3 "//llvm/lib/DebugInfo/PDB",
4 "//llvm/lib/DebugInfo/Symbolize",
5 "//llvm/lib/MC",
6 "//llvm/lib/MC/MCDisassembler",
7 "//llvm/lib/Object",
8 "//llvm/lib/Support",
9 "//llvm/lib/Target:AllTargetsAsmPrinters",
10 "//llvm/lib/Target:AllTargetsDescs",
11 "//llvm/lib/Target:AllTargetsDisassemblers",
12 "//llvm/lib/Target:AllTargetsInfos",
13 ]
14 sources = [
15 "sancov.cpp",
16 ]
17 }
0 executable("sanstats") {
1 deps = [
2 "//llvm/lib/DebugInfo/Symbolize",
3 "//llvm/lib/Support",
4 ]
5 sources = [
6 "sanstats.cpp",
7 ]
8 }
0 executable("verify-uselistorder") {
1 deps = [
2 "//llvm/lib/AsmParser",
3 "//llvm/lib/Bitcode/Reader",
4 "//llvm/lib/Bitcode/Writer",
5 "//llvm/lib/IR",
6 "//llvm/lib/IRReader",
7 "//llvm/lib/Support",
8 ]
9 sources = [
10 "verify-uselistorder.cpp",
11 ]
12 }
0 executable("yaml-bench") {
1 deps = [
2 "//llvm/lib/Support",
3 ]
4 sources = [
5 "YAMLBench.cpp",
6 ]
7 }