================
@@ -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">,
----------------
lhmouse wrote:

For a GNU inline asm statement, it's possible to specify multiple dialects, 
like in

```
__asm__ ("{ movl $1, %eax | mov eax, 1 }");
```

so index zero is AT&T and index one is Intel, hard-coded in source code like 
that.

A numeric argument is probably not too bad if it matches another tool.


https://github.com/llvm/llvm-project/pull/109360
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to