[PATCH] D33996: Improve consistency and flexibility with llvm-pdbdump subcommands

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 14:44:32 PDT 2017


inglorion added inline comments.


================
Comment at: llvm/tools/llvm-pdbdump/YAMLOutputStyle.cpp:47
     opts::pdb2yaml::DbiStream = true;
-    opts::pdb2yaml::DbiModuleInfo = true;
-    opts::pdb2yaml::DbiModuleSyms = true;
-    opts::pdb2yaml::DbiModuleSourceFileInfo = true;
-    opts::pdb2yaml::DbiModuleSourceLineInfo = true;
+    // opts::pdb2yaml::DbiModuleSourceLineInfo = true;
     opts::pdb2yaml::TpiStream = true;
----------------
Looks like there's still a line of commented-out code.


================
Comment at: llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp:901
+
+  if (opts::shared::DumpModuleSyms || opts::shared::DumpModuleFiles)
+    opts::shared::DumpModules = true;
----------------
That takes care of some of the scattering of the code, but most of the code for pdb2yaml::All is still in YAMLOutput.cpp. Did you intend to move that here, too?


https://reviews.llvm.org/D33996





More information about the llvm-commits mailing list