llvm-project/flang/tools
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
..
bbc [flang] Add clang-format files for FIR source (LLVM style) 2020-02-17 02:37:49 -08:00
f18 [flang][driver] Add `-fdebug-dump-parsing-log` 2021-03-10 12:09:16 +00:00
f18-parse-demo [flang] Add -fsyntax-only to f18; retain -fparse-only synonym 2021-02-03 09:01:39 -08:00
fir-opt [flang][fir] Add fir-opt tool 2021-02-16 11:48:40 -05:00
flang-driver [clang][flang] Improve the consistency of the code-base 2021-02-25 21:25:43 +08:00
tco [flang][fir][NFC] Move code from FIRDialect.h into a new header. 2021-02-12 15:15:46 -08:00
CMakeLists.txt [flang][fir] Add fir-opt tool 2021-02-16 11:48:40 -05:00