[PATCH] D96875: [flang][driver] Add -fdebug-module-writer option

Arnamoy B via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 18 05:38:49 PST 2021


arnamoy10 added inline comments.


================
Comment at: flang/test/Semantics/mod-file-rewriter.f90:9
+! RUN: %flang-new -fsyntax-only -fdebug-module-writer %p/Inputs/mod-file-unchanged.f90 2>&1 | FileCheck %s --check-prefix CHECK_UNCHANGED
+! RUN: %flang-new -fsyntax-only -fdebug-module-writer %p/Inputs/mod-file-changed.f90 2>&1 | FileCheck %s --check-prefix CHECK_CHANGED
 
----------------
tskeith wrote:
> Why do you need to duplicate these lines? Doesn't it work to use `%flang`?
`%flang` will unfortunately invoke `f18` currently.


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

https://reviews.llvm.org/D96875



More information about the cfe-commits mailing list