1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[gn build] add llvm-profgen to gn build

Didn't notice it missing due to https://reviews.llvm.org/D89707#2705110
This commit is contained in:
Nico Weber 2021-04-21 11:49:17 -04:00
parent 542098407f
commit fe1591ee8e
2 changed files with 24 additions and 0 deletions

View File

@ -255,6 +255,7 @@ group("test") {
"//llvm/tools/llvm-opt-report",
"//llvm/tools/llvm-pdbutil",
"//llvm/tools/llvm-profdata",
"//llvm/tools/llvm-profgen",
"//llvm/tools/llvm-rc",
"//llvm/tools/llvm-readobj:symlinks",
"//llvm/tools/llvm-reduce",

View File

@ -0,0 +1,23 @@
executable("llvm-profgen") {
deps = [
"//llvm/lib/DebugInfo/Symbolize",
"//llvm/lib/IR",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Object",
"//llvm/lib/ProfileData",
"//llvm/lib/Support",
"//llvm/lib/Target:AllTargetsDescs",
"//llvm/lib/Target:AllTargetsDisassemblers",
"//llvm/lib/Target:AllTargetsInfos",
"//llvm/lib/Transforms/IPO",
]
sources = [
"CSPreInliner.cpp",
"PerfReader.cpp",
"ProfileGenerator.cpp",
"ProfiledBinary.cpp",
"PseudoProbe.cpp",
"llvm-profgen.cpp",
]
}