summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-22 17:16:35 +0000
committerEli Bendersky <eliben@google.com>2013-04-22 17:16:35 +0000
commit0577df4aec15c6959ab3984f930946ef5d6220a4 (patch)
treea794a83ac2c75f85d1bc0409ff6ba7572d321e97 /llvm/docs
parentd9806687bc6d48115c97d22dae14590327d6e3fd (diff)
downloadbcm5719-llvm-0577df4aec15c6959ab3984f930946ef5d6220a4.tar.gz
bcm5719-llvm-0577df4aec15c6959ab3984f930946ef5d6220a4.zip
Document the -filetype option of llc (PR #12902)
llvm-svn: 180031
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/llc.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llc.rst b/llvm/docs/CommandGuide/llc.rst
index 70354b0343e..e6a59767aaf 100644
--- a/llvm/docs/CommandGuide/llc.rst
+++ b/llvm/docs/CommandGuide/llc.rst
@@ -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
OpenPOWER on IntegriCloud