HomePhabricator

[Driver] Fix assertion failure when -fprofile-generate -fcs-profile-generate…

Authored by MaskRay on Tue, Jan 12, 2:19 PM.

Description

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

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

Also add some driver tests.

Reviewed By: xur

Differential Revision: https://reviews.llvm.org/D94463