-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for PGO builds with clang
Summary: This is also fixes support for PGO under GCC. There will be files that end up without coverage due to certain tests being disabled because they are too flaky, or else make dangerous changes to the system (like setting the system time), so make the warning this generates not be a hard error. Also notable is that under clang, the default target when running `make all` remains as `build_all` rather than `profile-opt` in order to support some internal build scenarios. With clang, explicitly building with `make profile-opt` will still produce a PGO'd binary. Reviewed By: carljm Differential Revision: D36238598 fbshipit-source-id: 3e1fbf5
- Loading branch information
1 parent
53af1f5
commit 5c04dc5
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters