[clang] [llvm] [clang] Add cc1 --output-asm-variant= to set output syntax (PR #109360)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 24 13:38:01 PDT 2024
================
@@ -7209,6 +7209,9 @@ def fuse_ctor_homing: Flag<["-"], "fuse-ctor-homing">,
def as_secure_log_file : Separate<["-"], "as-secure-log-file">,
HelpText<"Emit .secure_log_unique directives to this filename.">,
MarshallingInfoString<CodeGenOpts<"AsSecureLogFile">>;
+def output_asm_variant : Joined<["--"], "output-asm-variant=">,
+ HelpText<"Select the asm variant (integer) to use for output">,
----------------
MaskRay wrote:
Appreciate the comments.
Yes, the AssemblerDIalect choices could be useful for other targets. SystemZ has `AssemblerDIalect`s that I am not familiar with. AArch64 seems to have one as well.
https://github.com/llvm/llvm-project/pull/109360
More information about the cfe-commits
mailing list