In clang/lib/Driver/ToolChains/Flang.cpp resides the following TODO: // TODO: Add target specific flags, ABI, mtune option etc. under the function void Flang::addTargetOptions.
Here an analysis is needed for all the missing target specific flags that need to be supported by Flang (and are already supported by Clang).
Someone should also extend the visibility of those options to include FlangOption, FC1Option under clang/include/clang/Driver/Options.td before intervening in clang/lib/Driver/ToolChains/Flang.cpp.
This is going to need proper testcases for the testsuite in order to be upstreamable.
In `clang/lib/Driver/ToolChains/Flang.cpp` resides the following TODO: `// TODO: Add target specific flags, ABI, mtune option etc.` under the function `void Flang::addTargetOptions`.
Here an analysis is needed for all the missing target specific flags that need to be supported by `Flang` (and are already supported by `Clang`).
Someone should also extend the visibility of those options to include `FlangOption, FC1Option` under `clang/include/clang/Driver/Options.td` before intervening in `clang/lib/Driver/ToolChains/Flang.cpp`.
This is going to need proper testcases for the testsuite in order to be upstreamable.
In
clang/lib/Driver/ToolChains/Flang.cpp
resides the following TODO:// TODO: Add target specific flags, ABI, mtune option etc.
under the functionvoid Flang::addTargetOptions
.Here an analysis is needed for all the missing target specific flags that need to be supported by
Flang
(and are already supported byClang
).Someone should also extend the visibility of those options to include
FlangOption, FC1Option
underclang/include/clang/Driver/Options.td
before intervening inclang/lib/Driver/ToolChains/Flang.cpp
.This is going to need proper testcases for the testsuite in order to be upstreamable.