[PATCH] D146878: [Docs][llvm-mc] Add documentation on --filetype flag

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 25 10:45:16 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7bda9ffb9cf0: [Docs][llvm-mc] Add documentation on --filetype flag (authored by aidengrossman).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146878/new/

https://reviews.llvm.org/D146878

Files:
  llvm/docs/CommandGuide/llvm-mc.rst


Index: llvm/docs/CommandGuide/llvm-mc.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-mc.rst
+++ llvm/docs/CommandGuide/llvm-mc.rst
@@ -75,6 +75,13 @@
 
  Marked up disassembly of string of hex bytes.
 
+.. option:: --filetype=[asm,null,obj]
+
+ Sets the output filetype. Setting this flag to `asm` will make the tool
+ output text assembly. Setting this flag to `obj` will make the tool output
+ an object file. Setting it to `null` causes no output to be created and can be
+ used for timing purposes. The default value is `asm`.
+
 .. option:: -g
 
  Generate DWARF debugging info for assembly source files.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146878.508327.patch
Type: text/x-patch
Size: 667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230325/e5d0cdc7/attachment.bin>


More information about the llvm-commits mailing list