diff options
author | Mats Petersson <mats.petersson@arm.com> | 2022-10-05 21:16:18 +0300 |
---|---|---|
committer | Mats Petersson <mats.petersson@arm.com> | 2022-10-05 21:43:02 +0300 |
commit | 4d1460c77d0095fb5eb974b42d96ca4f4567a7cd (patch) | |
tree | 262b2e754a805a61c7e88be400f3f7f4dbdb5acb /clang | |
parent | 4f6477a615d18dac6cc3aa0d3fb946191f8168c9 (diff) |
Revert "[flang] Add -fpass-plugin option to Flang frontend"
This reverts commit 43fe6f7cc35ded691bbc2fa844086d321e705d46.
Reverting this as CI breaks.
To reproduce, run check-flang, and it will fail with an error saying
.../lib/Bye.so not found in pass-plugin.f90
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Driver/Options.td | 2 | ||||
-rw-r--r-- | clang/lib/Driver/ToolChains/Flang.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index f09025d34346..0b795184b7bd 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -2710,7 +2710,7 @@ def fplugin_arg : Joined<["-"], "fplugin-arg-">, MetaVarName<"<name>-<arg>">, HelpText<"Pass <arg> to plugin <name>">; def fpass_plugin_EQ : Joined<["-"], "fpass-plugin=">, - Group<f_Group>, Flags<[CC1Option,FlangOption,FC1Option]>, MetaVarName<"<dsopath>">, + Group<f_Group>, Flags<[CC1Option]>, MetaVarName<"<dsopath>">, HelpText<"Load pass plugin from a dynamic shared object file (only with new pass manager).">, MarshallingInfoStringVector<CodeGenOpts<"PassPlugins">>; defm preserve_as_comments : BoolFOption<"preserve-as-comments", diff --git a/clang/lib/Driver/ToolChains/Flang.cpp b/clang/lib/Driver/ToolChains/Flang.cpp index 9fe83ed0886b..b279529a3318 100644 --- a/clang/lib/Driver/ToolChains/Flang.cpp +++ b/clang/lib/Driver/ToolChains/Flang.cpp @@ -55,8 +55,7 @@ void Flang::AddOtherOptions(const ArgList &Args, ArgStringList &CmdArgs) const { Args.AddAllArgs(CmdArgs, {options::OPT_module_dir, options::OPT_fdebug_module_writer, options::OPT_fintrinsic_modules_path, options::OPT_pedantic, - options::OPT_std_EQ, options::OPT_W_Joined, - options::OPT_fpass_plugin_EQ}); + options::OPT_std_EQ, options::OPT_W_Joined}); } void Flang::AddPicOptions(const ArgList &Args, ArgStringList &CmdArgs) const { |