This is an archive of the discontinued LLVM Phabricator instance.

[Clang] allow overriding -fbasic-block-sections
ClosedPublic

Authored by tra on Jun 30 2021, 1:42 PM.

Details

Summary

We should not error out on non-x86 targets if -fbasic-block-sections=none is in effect.

Also, filter it out for GPU-side compilations, as we do with other options not
supported on the GPU.

Diff Detail

Event Timeline

tra created this revision.Jun 30 2021, 1:42 PM
tra requested review of this revision.Jun 30 2021, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2021, 1:42 PM
This revision is now accepted and ready to land.Jun 30 2021, 2:02 PM
tra updated this revision to Diff 355681.Jun 30 2021, 2:15 PM
tra edited the summary of this revision. (Show Details)

comment typo fix.

jlebar accepted this revision.Jun 30 2021, 2:17 PM
This revision was landed with ongoing or failed builds.Jun 30 2021, 2:33 PM
This revision was automatically updated to reflect the committed changes.