aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2023-06-07 01:48:07 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-06-07 01:48:07 +0000
commitac03dfab7fe54989e6a3607ab9504bc45fb26d9e (patch)
treeb7acb2b7a0eace09bac1f0658baccab80a136ff9
parentcd941e2b60f6a357e4791ac038ab0f8424b6c3e6 (diff)
parent9825a6c7f8a246cb9eb84a553067e68c972d8909 (diff)
downloadsoong-ac03dfab7fe54989e6a3607ab9504bc45fb26d9e.tar.gz
afdo: Remove -fprofile-sample-accurate flag am: 9825a6c7f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/23587699 Change-Id: Id63a967929a850a8b5c8fa7725b3fc7fbdeffb41 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--cc/afdo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/afdo.go b/cc/afdo.go
index 49f69873c..137ea97fe 100644
--- a/cc/afdo.go
+++ b/cc/afdo.go
@@ -34,7 +34,7 @@ var (
var afdoProfileProjectsConfigKey = android.NewOnceKey("AfdoProfileProjects")
-const afdoCFlagsFormat = "-fprofile-sample-accurate -fprofile-sample-use=%s"
+const afdoCFlagsFormat = "-fprofile-sample-use=%s"
func recordMissingAfdoProfileFile(ctx android.BaseModuleContext, missing string) {
getNamedMapForConfig(ctx.Config(), modulesMissingProfileFileKey).Store(missing, true)