]> granicus.if.org Git - clang/commit
Add flag -fauto-profile as alias to -fprofile-sample-use.
authorDiego Novillo <dnovillo@google.com>
Fri, 6 Dec 2013 17:58:19 +0000 (17:58 +0000)
committerDiego Novillo <dnovillo@google.com>
Fri, 6 Dec 2013 17:58:19 +0000 (17:58 +0000)
commit1d061f70cc17e0222cd1a1e2e6863c6bc9b6552d
treec56cde764d36d420876b65ac0642c586ffd8d310
parentf6bb714c6b901ab3de83e397669d84503e7d6945
Add flag -fauto-profile as alias to -fprofile-sample-use.

Summary:
GCC uses -fauto-profile to enable sample-based PGO. This patch
adds it to Clang as an alias for -fprofile-sample-use.

Differential Revision: http://llvm-reviews.chandlerc.com/D2353

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196589 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Driver/clang_f_opts.c