If conflicting -fprofile-generate -fcs-profile-generate are used together,
there is currently an assertion failure. Fix the failure.
Also add some driver tests.
Paths
| Differential D94463
[Driver] Fix assertion failure when -fprofile-generate -fcs-profile-generate are used together ClosedPublic Authored by MaskRay on Jan 11 2021, 6:27 PM.
Details Summary If conflicting -fprofile-generate -fcs-profile-generate are used together, Also add some driver tests.
Diff Detail
Event TimelineMaskRay 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. Comment Actions. This revision is now accepted and ready to land.Jan 12 2021, 2:10 PM This revision was landed with ongoing or failed builds.Jan 12 2021, 2:20 PM Closed by commit rGcf45731f0eae: [Driver] Fix assertion failure when -fprofile-generate -fcs-profile-generate… (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 316239 clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/fcs-profile-generate.c
|