Merge "Turn on Unique Internal Names for AFDO"

This commit is contained in:
Yi Kong 2022-02-22 12:07:55 +00:00 committed by Gerrit Code Review
commit e69b021758

View file

@ -32,7 +32,7 @@ var (
var afdoProfileProjectsConfigKey = android.NewOnceKey("AfdoProfileProjects")
const afdoCFlagsFormat = "-fprofile-sample-accurate -fprofile-sample-use=%s"
const afdoCFlagsFormat = "-funique-internal-linkage-names -fprofile-sample-accurate -fprofile-sample-use=%s"
func getAfdoProfileProjects(config android.DeviceConfig) []string {
return config.OnceStringSlice(afdoProfileProjectsConfigKey, func() []string {