[flang-commits] [PATCH] D129156: Add -fpass-plugin option to Flang

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Sep 21 15:24:49 PDT 2022


tarunprabhu updated this revision to Diff 462022.
tarunprabhu edited the summary of this revision.
tarunprabhu added a comment.

Removed the pass to test the option. Instead, the Bye plugin provided in LLVM is used to test that the option works.  It is not clear if loading passes dynamically is supported on Windows and the test is designed to fail on that platform.

Addressed comments from @awarzynski.

Added documentation to the ReleaseNotes. It was put under "Major changes" but it can be moved to compiler options if that is a more appropriate place for this.

Added some text to the frontend driver documentation.

Added a test to checked that the -fpass-plugin option is correctly passed to the fc1 driver.


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

https://reviews.llvm.org/D129156

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Flang.cpp
  flang/docs/FlangDriver.md
  flang/docs/ReleaseNotes.md
  flang/include/flang/Frontend/CodeGenOptions.h
  flang/lib/Frontend/CompilerInvocation.cpp
  flang/lib/Frontend/FrontendActions.cpp
  flang/test/Driver/driver-help-hidden.f90
  flang/test/Driver/driver-help.f90
  flang/test/Driver/frontend-forwarding.f90
  flang/test/Driver/pass-plugin-not-found.f90
  flang/test/Driver/pass-plugin.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129156.462022.patch
Type: text/x-patch
Size: 10157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220921/b8741f05/attachment-0001.bin>


More information about the flang-commits mailing list