[clang] [llvm] [SystemZ][z/OS] __ptr32 support for z/OS (PR #101696)
Zibi Sarbinowski via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 10:33:02 PDT 2024
================
@@ -3650,6 +3650,14 @@ void CompilerInvocationBase::GenerateLangArgs(const LangOptions &Opts,
GenerateArg(Consumer, OPT_ftrigraphs);
}
+ if (T.isOSzOS()) {
+ if (!Opts.ZOSExt)
+ GenerateArg(Consumer, OPT_fno_zos_extensions);
+ } else {
+ if (Opts.ZOSExt)
+ GenerateArg(Consumer, OPT_fzos_extensions);
+ }
----------------
zibi2 wrote:
I think this can be simplified since zos-extensions are on by default on z/OS.
https://github.com/llvm/llvm-project/pull/101696
More information about the cfe-commits
mailing list