[PATCH] D96716: [flang][driver] Add debug dump options

Faris Rehman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 17 10:28:56 PST 2021


FarisRehman updated this revision to Diff 324352.
FarisRehman marked an inline comment as done.
FarisRehman added a comment.

Make semantics_ private

Make semantics_ in PrescanAndSemaAction private, adding semantics() and setSemantics().

Summary of changes:

- Add semantics() and setSemantics() to PrescanAndSemaAction
- Update tests to use `-fsyntax-only` but specify it first so that the new driver ignores it as only the last action option is executed. f18 will still run as if `-fsyntax-only` is present.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96716/new/

https://reviews.llvm.org/D96716

Files:
  clang/include/clang/Driver/Options.td
  flang/include/flang/Frontend/FrontendActions.h
  flang/include/flang/Frontend/FrontendOptions.h
  flang/lib/Frontend/CompilerInvocation.cpp
  flang/lib/Frontend/FrontendActions.cpp
  flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  flang/test/Flang-Driver/debug-provenance.f90
  flang/test/Flang-Driver/driver-help.f90
  flang/test/Semantics/data05.f90
  flang/test/Semantics/data08.f90
  flang/test/Semantics/data09.f90
  flang/test/Semantics/offsets01.f90
  flang/test/Semantics/offsets02.f90
  flang/test/Semantics/offsets03.f90
  flang/test/Semantics/resolve100.f90
  flang/test/Semantics/rewrite01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96716.324352.patch
Type: text/x-patch
Size: 14168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210217/bab7af2b/attachment-0001.bin>


More information about the cfe-commits mailing list