Document the -filetype option of llc (PR #12902)
authorEli Bendersky <eliben@google.com>
Mon, 22 Apr 2013 17:16:35 +0000 (17:16 +0000)
committerEli Bendersky <eliben@google.com>
Mon, 22 Apr 2013 17:16:35 +0000 (17:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180031 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/llc.rst

index 70354b0343e5b86df3b64f38194c4ee97ebdc6df..e6a59767aaff91d4c56f8a875b1ba54aba597937 100644 (file)
@@ -69,6 +69,14 @@ End-user Options
 
    llvm-as < /dev/null | llc -march=xyz -mcpu=help
 
+.. option:: -filetype=<output file type>
+
+ Specify what kind of output ``llc`` should generated.  Options are: ``asm``
+ for textual assembly ( ``'.s'``), ``obj`` for native object files (``'.o'``)
+ and ``null`` for not emitting anything (for performance testing).
+
+ Note that not all targets support all options.
+
 .. option:: -mattr=a1,+a2,-a3,...
 
  Override or control specific attributes of the target, such as whether SIMD