AddDiscriminator pass is only useful for sample pgo. This patch restricts AddDiscriminator to -fdebug-info-for-profiling so that it does not introduce unecessary debug size increases for non-sample-pgo builds.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4158 Build 4158: arc lint + arc unit
Event Timeline
Comment Actions
Did you want to enable all DebugInfoForProfiling features when there's a sample profile specified? (not sure if all of the features are needed when stitching things back up, or if some of them are only needed for emission/tracking purposes)
Comment Actions
You are right, only discriminator is needed, the encoding and emission part should be orthogonal. Patch updated.