Add clang frontend flags for machine profiles.
- -fmachine-profile-generate
- Produce an instrumented binary
- -fmachine-profile-function-coverage
- Only profile function coverage
- -fmachine-profile-block-coverage
- Profile basic block coverage
- -fmachine-profile-link-unit-name=
- Specify a name to identify the current link unit
- -fno-machine-profile-runtime
- Do not link the MIP runtime
- -fno-machine-profile-dump
- Do not dump the raw profile data when the program exits
- -fmachine-profile-selected-function-group=, -fmachine-profile-function-group-count=
- Only instrument group i of N total groups of functions
- -fmachine-profile-use=
- Use the provided profile for optimization