[all-commits] [llvm/llvm-project] e8af24: [Flang][Driver] Add warning support for invalid R_...
victorkingi via All-commits
all-commits at lists.llvm.org
Thu Aug 31 05:09:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8af24736ada1ecc2495ada73225370be8a551a5
https://github.com/llvm/llvm-project/commit/e8af24736ada1ecc2495ada73225370be8a551a5
Author: Victor Kingi <victor.kingi at arm.com>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
M flang/test/Driver/optimization-remark-invalid.f90
Log Message:
-----------
[Flang][Driver] Add warning support for invalid R_Group options
With the R_Group options, invalid values e.g. '-Rpa' will not emit
a warning like clang. This patch enables warning reporting, as
well as suggestions on what option the user intended to select.
Depends on D158174 and D158436. The former, adds backend
support to R_Group options while the latter, implements
regex support with some tests refactoring that cause a merge
conflict.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D158593
More information about the All-commits
mailing list