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", + ] +}