llvm-project/flang/lib
Andrzej Warzynski 523d7bc6f4 [flang][driver] Add `-fdebug-dump-parsing-log`
This patch adds `-fdebug-dump-parsing-log` in the new driver. This option is
semantically identical to `-fdebug-instrumented-parse` in `f18` (the
former is added as an alias in `f18`).

As dumping the parsing log makes only sense for instrumented parses, we
set Fortran::parser::Options::instrumentedParse to `True` when
`-fdebug-dump-parsing-log` is used. This is consistent with `f18`.

To facilitate tweaking the configuration of the frontend based on the
action being requested, `setUpFrontendBasedOnAction` is introduced in
CompilerInvocation.cpp.

Differential Revision: https://reviews.llvm.org/D97457
2021-03-10 12:09:16 +00:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Readability improvement in binary->decimal conversion 2020-10-01 15:49:27 -07:00
Evaluate [flang] Detect circularly defined interfaces of procedures 2021-03-02 10:53:44 -08:00
Frontend [flang][driver] Add `-fdebug-dump-parsing-log` 2021-03-10 12:09:16 +00:00
FrontendTool [flang][driver] Add `-fdebug-dump-parsing-log` 2021-03-10 12:09:16 +00:00
Lower [flang][fir] Add remaining Ops. Updates to pre-existing Ops. 2021-02-26 17:21:35 -08:00
Optimizer Fix Flang build after MLIR API changes around `generatedTypeParser` 2021-03-09 23:19:30 +00:00
Parser [flang][driver] Add options for unparsing 2021-02-16 09:32:51 +00:00
Semantics [flang] Fix bad dereference of NULLIFY pointer object 2021-03-08 15:01:36 -08:00
CMakeLists.txt [flang] Remove `LINK_WITH_FIR` cmake switch 2021-02-11 22:52:13 +05:30