llvm-project/flang/test/Driver
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
..
Inputs [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
code-gen.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
debug-measure-parse-tree.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
debug-parsing-log.f90 [flang][driver] Add `-fdebug-dump-parsing-log` 2021-03-10 12:09:16 +00:00
debug-provenance.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
driver-error-cc1.c [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
driver-error-cc1.cpp [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
driver-help-hidden.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
driver-help.f90 [flang][driver] Add `-fdebug-dump-parsing-log` 2021-03-10 12:09:16 +00:00
driver-version.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
escaped-backslash.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
fdefault.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
fixed-free-detection.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
fixed-free-flag.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
fixed-line-length.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
flarge_sizes.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
frontend-forwarding.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
help-f18.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
implicit-none.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
include-header.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
input-from-stdin.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
macro-def-undef.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
macro-multiline.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
missing-input.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
parse-error.f95 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
phases.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
predefined-macros-compiler-version.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
scanning-error.f95 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
syntax-only.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
use-module-error.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
use-module.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00
write-module.f90 [flang][driver] Merge test/Driver and test/Flang-Driver directories 2021-03-10 11:38:13 +00:00