[gn build] Add build file for llvm-pdbutil

Needed for check-lld.

Differential Revision: https://reviews.llvm.org/D55826

llvm-svn: 349490
This commit is contained in:
Nico Weber 2018-12-18 15:09:07 +00:00
parent 4810420ca1
commit 1164dab2bc
2 changed files with 36 additions and 0 deletions

View File

@ -10,6 +10,7 @@ group("default") {
"//llvm/tools/llvm-mc",
"//llvm/tools/llvm-nm:symlinks",
"//llvm/tools/llvm-objdump:symlinks",
"//llvm/tools/llvm-pdbutil",
"//llvm/tools/llvm-readobj:symlinks",
"//llvm/tools/llvm-undname",
"//llvm/tools/obj2yaml",

View File

@ -0,0 +1,35 @@
executable("llvm-pdbutil") {
deps = [
"//llvm/lib/BinaryFormat",
"//llvm/lib/DebugInfo/CodeView",
"//llvm/lib/DebugInfo/MSF",
"//llvm/lib/DebugInfo/PDB",
"//llvm/lib/Object",
"//llvm/lib/ObjectYAML",
"//llvm/lib/Support",
]
sources = [
"BytesOutputStyle.cpp",
"DumpOutputStyle.cpp",
"ExplainOutputStyle.cpp",
"FormatUtil.cpp",
"InputFile.cpp",
"LinePrinter.cpp",
"MinimalSymbolDumper.cpp",
"MinimalTypeDumper.cpp",
"PdbYaml.cpp",
"PrettyBuiltinDumper.cpp",
"PrettyClassDefinitionDumper.cpp",
"PrettyClassLayoutGraphicalDumper.cpp",
"PrettyCompilandDumper.cpp",
"PrettyEnumDumper.cpp",
"PrettyExternalSymbolDumper.cpp",
"PrettyFunctionDumper.cpp",
"PrettyTypeDumper.cpp",
"PrettyTypedefDumper.cpp",
"PrettyVariableDumper.cpp",
"StreamUtil.cpp",
"YAMLOutputStyle.cpp",
"llvm-pdbutil.cpp",
]
}