[PATCH] D35744: Make new PM honor -fdebug-info-for-profiling
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 21:33:51 PDT 2017
chandlerc added inline comments.
================
Comment at: tools/opt/NewPMDriver.cpp:95-97
+ clEnumValN(SampleGen, "new-pm-pgo-sample-gen-pipeline",
+ "Emit special debug info to enable PGO profile "
+ "generation")));
----------------
Generating more PGO-friendly debug information seems orthogonal to the others (but perhaps reasonable to default "on" when *using* a sample profile), so I would leave it as a separate flag entirely.
I don't have great naming ideas... I guess steal from the Clang name: `-new-pm-debug-info-for-profiling`.
https://reviews.llvm.org/D35744
More information about the llvm-commits
mailing list