Merge "Add -fdebug-info-for-profiling flag to emit more debug info for sampling pgo" am: 50dab0e45f am: 8481ce2850

Change-Id: I437337085b69559a8c17999a0cb035505e675954
This commit is contained in:
Automerger Merge Worker
2020-01-31 16:58:18 +00:00

View File

@@ -41,7 +41,7 @@ var (
var pgoProfileProjectsConfigKey = android.NewOnceKey("PgoProfileProjects")
const profileInstrumentFlag = "-fprofile-generate=/data/local/tmp"
const profileSamplingFlag = "-gline-tables-only"
const profileSamplingFlag = "-gmlt -fdebug-info-for-profiling"
const profileUseInstrumentFormat = "-fprofile-use=%s"
const profileUseSamplingFormat = "-fprofile-sample-use=%s"