[PATCH] D97080: [flang][driver] Add -fintrinsic-modules-path option
Arnamoy B via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 19 12:47:03 PST 2021
arnamoy10 created this revision.
arnamoy10 added reviewers: awarzynski, tskeith, sscalpone, clementval, AMDChirag, SouraVX.
Herald added subscribers: jansvoboda11, dang, jfb.
arnamoy10 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Add support for the following f18 options:
-fdebug-module-writer
Also the following changes:
1. Capture the intrinsic directory supplied in the same variable that captures the directories from `-I` in `PreprocessorOptions.h`, thus renaming the variable
2. Create a new test case
3. Adding intrinsic module files in the test directory
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97080
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Flang.cpp
flang/include/flang/Frontend/PreprocessorOptions.h
flang/lib/Frontend/CompilerInvocation.cpp
flang/test/Flang-Driver/Inputs/ieee_arithmetic.mod
flang/test/Flang-Driver/Inputs/iso_fortran_env.mod
flang/test/Flang-Driver/driver-help-hidden.f90
flang/test/Flang-Driver/driver-help.f90
flang/test/Flang-Driver/intrinsic_module_path.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97080.325067.patch
Type: text/x-patch
Size: 19010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210219/dc130db1/attachment-0001.bin>
More information about the cfe-commits
mailing list