[clang] [llvm] [clang] Add cc1 --output-asm-variant= to set output syntax (PR #109360)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 11:09:37 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:
Thanks for the GCC information. Looks good that the numerical index, already used by existing internal LLVM tools, also matches GCC internals.
https://github.com/llvm/llvm-project/pull/109360
More information about the llvm-commits
mailing list