From 1164dab2bc605abd3240da5ded8fff66de53fa6e Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 18 Dec 2018 15:09:07 +0000 Subject: [PATCH] [gn build] Add build file for llvm-pdbutil Needed for check-lld. Differential Revision: https://reviews.llvm.org/D55826 llvm-svn: 349490 --- llvm/utils/gn/secondary/BUILD.gn | 1 + .../llvm/tools/llvm-pdbutil/BUILD.gn | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 llvm/utils/gn/secondary/llvm/tools/llvm-pdbutil/BUILD.gn diff --git a/llvm/utils/gn/secondary/BUILD.gn b/llvm/utils/gn/secondary/BUILD.gn index 0e2c49b2798d..9f5c66014fb1 100644 --- a/llvm/utils/gn/secondary/BUILD.gn +++ b/llvm/utils/gn/secondary/BUILD.gn @@ -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", diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-pdbutil/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-pdbutil/BUILD.gn new file mode 100644 index 000000000000..b72bd00e1561 --- /dev/null +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-pdbutil/BUILD.gn @@ -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", + ] +}