Index: llvm/utils/gn/secondary/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/BUILD.gn +++ llvm/utils/gn/secondary/BUILD.gn @@ -10,6 +10,7 @@ "//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", Index: llvm/utils/gn/secondary/llvm/tools/llvm-pdbutil/BUILD.gn =================================================================== --- /dev/null +++ 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", + ] +}