llvm-capstone/flang/lib/Frontend/CMakeLists.txt
Faris Rehman 529f71811b [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
2021-02-19 11:27:54 +00:00

29 lines
444 B
CMake

add_flang_library(flangFrontend
CompilerInstance.cpp
CompilerInvocation.cpp
FrontendAction.cpp
FrontendActions.cpp
FrontendOptions.cpp
TextDiagnosticPrinter.cpp
TextDiagnosticBuffer.cpp
TextDiagnostic.cpp
DEPENDS
clangBasic
LINK_LIBS
FortranParser
FortranSemantics
FortranEvaluate
FortranCommon
FortranLower
clangBasic
clangDriver
LINK_COMPONENTS
Option
Support
FrontendOpenACC
FrontendOpenMP
)