[all-commits] [llvm/llvm-project] 12da8e: [Flang][Driver] Add location and remark option pri...
victorkingi via All-commits
all-commits at lists.llvm.org
Thu Aug 31 08:41:31 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12da8ef0e318cf1e05c1380de7b98bc5cfa51f42
https://github.com/llvm/llvm-project/commit/12da8ef0e318cf1e05c1380de7b98bc5cfa51f42
Author: Victor Kingi <victor.kingi at arm.com>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M flang/include/flang/Frontend/TextDiagnosticPrinter.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Frontend/TextDiagnosticPrinter.cpp
M flang/test/Driver/optimization-remark-backend.f90
M flang/test/Driver/optimization-remark-invalid.f90
M flang/test/Driver/optimization-remark.f90
Log Message:
-----------
[Flang][Driver] Add location and remark option printing to R_Group Diagnostics
For each R_Group diagnostic produced, this patch gives more
information about it by printing the absolute file path,
the line and column number the pass was applied to and finally
the remark option that was used.
Clang does the same with the exception of printing the relative
path rather than absolute path.
Depends on D159260. That patch adds support for backend passes
while this patch adds remark options to the backend test cases.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D159258
More information about the All-commits
mailing list