[all-commits] [llvm/llvm-project] 985a42: [flang][driver] Add support for `-J/-module-dir`

arnamoy10 via All-commits all-commits at lists.llvm.org
Thu Feb 4 08:33:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 985a42fdf8ae3117442ea129b684569fa6942a71
      https://github.com/llvm/llvm-project/commit/985a42fdf8ae3117442ea129b684569fa6942a71
  Author: Arnamoy Bhattacharyya <arnamoy10 at gmail.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/ToolChains/Flang.h
    M flang/include/flang/Frontend/CompilerInstance.h
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/lib/Frontend/CompilerInstance.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Flang-Driver/driver-help-hidden.f90
    M flang/test/Flang-Driver/driver-help.f90
    M flang/test/Flang-Driver/include-module.f90
    A flang/test/Flang-Driver/write-module.f90

  Log Message:
  -----------
  [flang][driver] Add support for `-J/-module-dir`

Add support for option -J/-module-dir in the new Flang driver.  This
will allow for including module files in other directories, as the
default search path is currently the working folder. This also provides
an option of storing the output module in the specified folder.

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




More information about the All-commits mailing list