This is an archive of the discontinued LLVM Phabricator instance.

[flang][f18] Make -fdebug-dump-{} imply -fsyntax-only - revert
AbandonedPublic

Authored by awarzynski on Feb 17 2021, 7:31 AM.

Details

Summary

This patch reverts the changes in f18 introduced in
https://reviews.llvm.org/D96528.

The new driver will run only the action corresponding to the final
action option. For this reason, we need to make sure that
-fsyntax-only _is not_ the final option on the command line and all
tests are updated to use:

-fsyntax-only -fdebug-dump-symbols

rather than

-fdebug-dump-symbols -fsyntax-only

This way we can guarantee that tests using -fdebug-dump-symbols and
-fdebug-dump-parse-tree will continue working for both drivers,
despite the underlying implementation being a bit different.

The affected dump options:

  • -fdebug-dump-symbols
  • -fdebug-dump-parse-tree

are introduced in flang-new in https://reviews.llvm.org/D96716.

Diff Detail

Event Timeline

awarzynski requested review of this revision.Feb 17 2021, 7:31 AM
awarzynski created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2021, 7:31 AM
awarzynski added a project: Restricted Project.
klausler resigned from this revision.Feb 8 2023, 2:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2023, 2:33 PM
Herald added a subscriber: sunshaoce. · View Herald Transcript
awarzynski abandoned this revision.Feb 9 2023, 12:03 AM

Abandoning, f18 is no longer present in the monorepo.