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

Commit 91d66d3c 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 am: e50f27d3

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

Change-Id: Ic0f538f15c1a23febcb6257a6f4d421028f69ee0
parents 06fd5ea1 e50f27d3
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 {