Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38d0106d authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

Merge "Turn on Unique Internal Names for AFDO" am: e69b0217

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1977996

Change-Id: I0e2499621c2edf71110477a154d5f170fdfd4eec
parents 0c5f8233 e69b0217
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {