[all-commits] [llvm/llvm-project] 529f71: [flang][driver] Add debug measure-parse-tree and p...

Faris via All-commits all-commits at lists.llvm.org
Fri Feb 19 03:35:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 529f71811b0475995f2d9cf766f18d897eec574c
      https://github.com/llvm/llvm-project/commit/529f71811b0475995f2d9cf766f18d897eec574c
  Author: Faris Rehman <faris.rehman at arm.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/include/flang/Frontend/FrontendActions.h
    M flang/include/flang/Frontend/FrontendOptions.h
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
    A flang/test/Flang-Driver/debug-measure-parse-tree.f90
    M flang/test/Flang-Driver/driver-help.f90
    M flang/test/Lower/pre-fir-tree01.f90
    M flang/test/Lower/pre-fir-tree02.f90
    M flang/test/Lower/pre-fir-tree03.f90
    M flang/test/Lower/pre-fir-tree05.f90

  Log Message:
  -----------
  [flang][driver] Add debug measure-parse-tree and pre-fir-tree options

Add the following options:
* -fdebug-measure-parse-tree
* -fdebug-pre-fir-tree

Summary of changes:
- Add 2 new frontend actions: DebugMeasureParseTreeAction and DebugPreFIRTreeAction
- Add MeasurementVisitor to FrontendActions.h
- Make reportFatalSemanticErrors return true if there are any fatal errors
- Port most of the `-fdebug-pre-fir-tree` tests to use the new driver if built, otherwise use f18.

Differential Revision: https://reviews.llvm.org/D96884




More information about the All-commits mailing list