[PATCH] D21823: [Driver] Add flags for enabling both types of PGO Instrumentation

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 28 22:09:08 PDT 2016


vsk added a comment.

This lgtm with one nit, and pending approval from others.


================
Comment at: include/clang/Driver/Options.td:482
@@ +481,3 @@
+def fpgo_train_EQ : Joined<["-"], "fpgo-train=">,
+    Group<f_Group>, Flags<[DriverOption]>, MetaVarName<"<file>">,
+    HelpText<"Generate instrumented code to collect execution counts into <file> (overridden by LLVM_PROFILE_FILE env var)">;
----------------
Would something like `<options>` be a better MetaVarName?


Repository:
  rL LLVM

http://reviews.llvm.org/D21823





More information about the cfe-commits mailing list