Add platform-wide sampling PGO option

This causes the compiler to emit some additional debug infomation that
will be used for sampling PGO. These debug infomation will get stripped
so it only affects intermediate files.

Test: build
Bug: 79161490
Change-Id: Ie4d1d5ffbd311ba6e268cb94a618f5272be246ef
This commit is contained in:
Yi Kong
2020-03-20 15:22:27 +08:00
parent b358ebb759
commit ceb5b76c91
3 changed files with 25 additions and 14 deletions

View File

@@ -252,6 +252,8 @@ type productVariables struct {
ClangTidy *bool `json:",omitempty"`
TidyChecks *string `json:",omitempty"`
SamplingPGO *bool `json:",omitempty"`
NativeLineCoverage *bool `json:",omitempty"`
Native_coverage *bool `json:",omitempty"`
ClangCoverage *bool `json:",omitempty"`