[clang] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 22:50:50 PDT 2023


================
@@ -3426,6 +3426,29 @@ def fpass_plugin_EQ : Joined<["-"], "fpass-plugin=">,
   MetaVarName<"<dsopath>">,
   HelpText<"Load pass plugin from a dynamic shared object file (only with new pass manager).">,
   MarshallingInfoStringVector<CodeGenOpts<"PassPlugins">>;
+def mtocdata : Flag<["-"], "mtocdata">,
+  Visibility<[ClangOption, CLOption, DXCOption, CC1Option]>,
----------------
MaskRay wrote:

cl/dxc don't use Power ISA. Remove them.

Use `BoolOption<"m", "tocdata", ...`

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


More information about the cfe-commits mailing list