[PATCH] D96387: [CSSPGO][llvm-profgen] Renovate perfscript check and command line input validation

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 12:00:59 PST 2021


hoy added inline comments.


================
Comment at: llvm/tools/llvm-profgen/ProfiledBinary.cpp:404
 
+bool ProfiledBinary::isShowDisassemblyEnable() { return ShowDisassembly; }
+
----------------
nit: `isShowDisassemblyEnabled`


================
Comment at: llvm/tools/llvm-profgen/llvm-profgen.cpp:47
+  PerfReader Reader(BinaryFilenames, PerfTraceFilenames);
   Reader.parsePerfTraces(PerfTraceFilenames);
 
----------------
We should probably return here with `--show-disassembly` and the output file should have the disassemblies instead of a sample profile.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96387/new/

https://reviews.llvm.org/D96387



More information about the llvm-commits mailing list