This patch adds more logic to Flang.cpp to search for the
flang frontend.
A new flag(ffc-fortran-name) was created in this patch to
implement the logic in Flang driver.
The patch searches for the appropriated flang frontend path according to:
-if the flag ffc-fortran-name is being set use the name given by
the flag to search for the flang frontend path
- esle the frontend name is hard-coded to "flang", use that to
search the frontend path.
To set the custom fortran frontend this patch created a new internal driver
flag named "ffc-fortran-name" in Options.td.
The flag sets flang frontend for a custom fortran compiler. The logic for
ffc-fortran-name is the same as the one used by GNU to set ccc-gcc-name.
Signed-off-by: Caroline Concatto <caroline.concatto@arm.com>
CFCGenericFlangName?