luporl wrote:

It looks like `--sysroot=` is already supported by flang-new. It worked fine in 
my tests. Just like clang, it doesn't show up in `--help` or `--help-hidden`, 
for some reason I'm not aware.

I noticed, however, that using `--sysroot` doesn't work:
`flang-new: error: unknown argument '--sysroot'`

Interestingly enough, some other flags also show the same issue, such as 
`--verbose`:
`flang-new: error: unknown argument: '--verbose'`

My hunch is that option aliases are not working properly with flang-new, when 
`Visibility` is omitted.

Anyone knows if this is expected and `Visibility` should be explicitly 
specified in each alias, to add support to flang-new, or is this an issue and 
the alias should have the same visibility as the original option?

https://github.com/llvm/llvm-project/pull/77365
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to