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.
Paths
| Differential D105226
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 30 2021, 2:02 PM This revision was landed with ongoing or failed builds.Jun 30 2021, 2:33 PM Closed by commit rGcab5f89cfd9e: [Clang] allow overriding -fbasic-block-sections (authored by tra). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 355690 clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/fbasic-block-sections.c
|