MaskRay added a comment. IIRC there is no built-in way supporting multiple (but fixed number of) values for an option (e.g. `-Xoffload-linker-<triple> <arg>`). In D105330 <https://reviews.llvm.org/D105330> (llvm-nm option refactoring) I used a hack to support `-s __DATA __data`. The multiple-value support for OptTable does not allow positional arguments after the option.
Consider something like `-Xoffload-linker-triple <triple>=<arg>` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126226/new/ https://reviews.llvm.org/D126226 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits