[clang] [llvm] [SystemZ][z/OS] Add options -m[no-]zos-ppa1-name to remove the function name in PPA1. (PR #207416)

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 04:48:13 PDT 2026


================
@@ -49,6 +49,9 @@ void ZOS::addClangTargetOptions(const ArgList &DriverArgs,
   if (!DriverArgs.hasArgNoClaim(options::OPT_fsized_deallocation,
                                 options::OPT_fno_sized_deallocation))
     CC1Args.push_back("-fno-sized-deallocation");
+
+  DriverArgs.AddLastArg(CC1Args, options::OPT_mzos_ppa1_name,
+                        options::OPT_mno_zos_ppa1_name);
----------------
uweigand wrote:

Not sure if this is the right place - there's no other machine-specific options here.  Should this be done in `Clang::AddSystemZTargetArgs` instead?

https://github.com/llvm/llvm-project/pull/207416


More information about the cfe-commits mailing list