Page MenuHomePhabricator

[Driver] Fix assertion failure when -fprofile-generate -fcs-profile-generate are used together
ClosedPublic

Authored by MaskRay on Mon, Jan 11, 6:27 PM.

Details

Summary

If conflicting -fprofile-generate -fcs-profile-generate are used together,
there is currently an assertion failure. Fix the failure.

Also add some driver tests.

Diff Detail

Event Timeline

MaskRay requested review of this revision.Mon, Jan 11, 6:27 PM
MaskRay created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMon, Jan 11, 6:27 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MaskRay updated this revision to Diff 316233.Tue, Jan 12, 2:02 PM
MaskRay retitled this revision from [Driver] Make -fcs-profile-generate require -fprofile-use to [Driver] Fix assertion failure when -fprofile-generate -fcs-profile-generate are used together.
MaskRay edited the summary of this revision. (Show Details)

.

xur accepted this revision.Tue, Jan 12, 2:10 PM

looks good to me. Thanks for working on this.

This revision is now accepted and ready to land.Tue, Jan 12, 2:10 PM
MaskRay updated this revision to Diff 316238.Tue, Jan 12, 2:19 PM

Fix test on Windows

This revision was landed with ongoing or failed builds.Tue, Jan 12, 2:20 PM
This revision was automatically updated to reflect the committed changes.