Add PGO GENPROFILE support to coreclr and clrjit (#7423)
authorDaniel Podder <dpodder@gmail.com>
Tue, 4 Oct 2016 08:39:49 +0000 (01:39 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 4 Oct 2016 08:39:49 +0000 (10:39 +0200)
commit114b58869def96c720d0c2fd9b77ceccdc924b96
tree91445052c408051a7582b8a891b2166162e38bc6
parent4d6710d76ba222b1bf9aaef9b475a3229f827824
Add PGO GENPROFILE support to coreclr and clrjit (#7423)

* Add PGO GENPROFILE support to coreclr and clrjit

Update the cmake build system to enable support for Profile Guided
Optimization (PGO) on Windows, and enable this feature for two target
binaries (coreclr and clrjit).

With this change, toggle between instrumented and profile-optimized
settings for target binaries by passing pgoinstrument argument to the build.cmd
Assume profile-optimized mode by default. Fall back to regular non-PGO
optimized builds if profile data is not available.
CMakeLists.txt
build.cmd
build.sh
functions.cmake
pgosupport.cmake [new file with mode: 0644]
src/dlls/mscoree/coreclr/CMakeLists.txt
src/jit/standalone/CMakeLists.txt