Add flags to disable profile generation.

Diego Novillo dnovillo at google.com
Wed Aug 5 14:50:05 PDT 2015


On Wed, Aug 5, 2015 at 4:04 PM, Justin Bogner <justin at justinbogner.com>
wrote:

> Diego Novillo <dnovillo at google.com> writes:
> > This patch adds flags -fno-profile-instr-generate and
> > -fno-profile-instr-use, and the GCC aliases -fno-profile-generate and
> > -fno-profile-use.
> >
> > These flags are used in situations where users need to disable profile
> > generation or use for specific files in a build, without affecting other
> > files.
> >
> > OK to commit?
>
> Sure, but we should probably add a -fno-coverage-mapping as well, since
> `-fprofile-generate -fcoverage-mapping -fno-profile-generate` will error
> with this change. Do you mind adding that in a followup?
>

No problem.  Patch coming up.


Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150805/af7f6361/attachment.html>


More information about the cfe-commits mailing list