[PATCH] D16730: [PGO] cc1 option names change for profile instrumentation (NFC)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 11:59:26 PST 2016
davidxl added inline comments.
================
Comment at: include/clang/Driver/CC1Options.td:272
@@ +271,3 @@
+def fprofile_instrument_EQ: Joined<["-"], "fprofile-instrument=">,
+ HelpText<"Specify the kind of instrumentation that instruments the code "
+ "to generate execution counts to use with PGO. The accepted "
----------------
Perhaps: "Enable PGO instrumentation. The accepted value is Clang or None"
================
Comment at: lib/Frontend/CompilerInvocation.cpp:481
@@ +480,3 @@
+
+ enum PGOInstrumentor { Unknown, Clang, LLVM };
+ if (Arg *A = Args.getLastArg(OPT_fprofile_instrument_EQ)) {
----------------
Remove LLVM
http://reviews.llvm.org/D16730
More information about the llvm-commits
mailing list