[PATCH] D103177: [flang][driver] Extend the `flang` bash script to act as a driver

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 12:38:18 PDT 2021


awarzynski updated this revision to Diff 349067.
awarzynski added a comment.

Remove code from `f18.cpp`

All code that dealt with code-generation in `f18.cpp` has been removed. The `flang` script has been extended - it can now compile non-Fortran sources. Also, error messages in the bash script have been updated.

I also had to slightly update the semantics of `-funparse-typed-exprs-to-f18-fc` and replace it with `-fno-unparse-typed-exprs-to-f18-fc`. This way I was able to preserve the original behaviour of `flang` (in general) and `f18` (when using  `-fdebug-unparse`).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103177

Files:
  flang/tools/f18/f18.cpp
  flang/tools/f18/flang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103177.349067.patch
Type: text/x-patch
Size: 17927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210601/1f65d58f/attachment.bin>


More information about the llvm-commits mailing list