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

Commit e50f27d3 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 am: 38d0106d

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

Change-Id: I338662c4e95c8dd9d04af4077420fd1d938bc6b9
parents b93c87ee 38d0106d
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 {