[all-commits] [llvm/llvm-project] d81f63: [flang][driver] Add -Xflang and make -test-io a fr...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Mon Feb 22 02:12:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d81f633fe28fd23108b4dc8c25548f1653ba0cd2
      https://github.com/llvm/llvm-project/commit/d81f633fe28fd23108b4dc8c25548f1653ba0cd2
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/Types.cpp
    M flang/test/Flang-Driver/driver-help-hidden.f90
    M flang/test/Flang-Driver/driver-help.f90
    M flang/test/Frontend/input-output-file.f90
    M flang/test/Frontend/multiple-input-files.f90

  Log Message:
  -----------
  [flang][driver] Add -Xflang and make -test-io a frontend-only flang

This patch adds support for `-Xflang` in `flang-new`. The semantics are
identical to `-Xclang`.

With the addition of `-Xflang`, we can modify `-test-io` to be a
compiler-frontend only flag. This makes more sense, this flag is:
  * very frontend specific
  * to be used for development and testing only
  * not to be exposed to the end user
Originally we added it to the compiler driver, `flang-new`, in order to
facilitate testing. With `-Xflang` this is no longer needed. Tests are
updated accordingly.

Differential Revision: https://reviews.llvm.org/D96864




More information about the All-commits mailing list